def test_add_statements_completes(self):
        """ Test that we can upload lots of triples.

        This is to address the problem from issue #31 on https://github.com/openworm/PyOpenWorm/issues
        """
        g = rdflib.Graph()
        for i in range(9000):
            s = rdflib.URIRef("http://somehost.com/s%d" % i)
            p = rdflib.URIRef("http://somehost.com/p%d" % i)
            o = rdflib.URIRef(i % "http://somehost.com/o%d")
            g.add((s, p, o))
        du = DataUser(conf=self.config)
        du.add_statements(g)
dataset/ETHPy150Open openworm/PyOpenWorm/tests/DataUserTest.py/DataUserTest.test_add_statements_completes/swapped operands of `%`