Module Import alias Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Str Import alias ImportFrom alias alias alias alias Import alias Import alias identifier ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr BinOpAdd Str Call NameLoad NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str attr Assign NameStore Call AttributeLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str attr Assign NameStore BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str NameLoad Str For NameStore Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Call NameLoad SubscriptLoad NameLoad Index Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr For NameStore Call NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A sys N/A N/A N/A N/A sys path insert 0 . N/A unittest PyOpenWorm DataUser Configureable BadConf Configure N/A rdflib N/A rdflib R DataTestTemplate _DataTest DataUserTest N/A _DataTest N/A test_init_no_config N/A N/A self N/A N/A N/A  Should fail to initialize since it's lacking basic configuration  N/A c N/A Configureable conf N/A N/A Configureable conf False N/A N/A N/A self assertRaises BadConf N/A N/A N/A DataUser N/A N/A Configureable conf c N/A test_init_no_config_with_default N/A N/A self N/A N/A N/A  Should suceed if the default configuration is a Data object  N/A N/A DataUser N/A test_init_False_with_default N/A N/A self N/A N/A N/A  Should suceed if the default configuration is a Data object  N/A N/A DataUser conf False N/A test_init_config_no_Data N/A N/A self N/A N/A N/A  Should fail if given a non-Data configuration  N/A tmp N/A Configureable conf N/A N/A Configureable conf N/A Configure N/A N/A N/A self assertRaises BadConf N/A N/A N/A DataUser N/A N/A Configureable conf tmp N/A test_add_statements_has_uploader N/A N/A self N/A N/A N/A  Assert that each statement has an uploader annotation  N/A g N/A N/A R Graph N/A s N/A N/A rdflib URIRef http://somehost.com/s N/A p N/A N/A rdflib URIRef http://somehost.com/p N/A o N/A N/A rdflib URIRef http://somehost.com/o N/A N/A N/A g add N/A s p o N/A du N/A DataUser N/A self config N/A N/A N/A N/A N/A du add_statements g N/A N/A N/A Exception N/A e N/A N/A N/A N/A self fail N/A Should be able to add statements in the first place:  N/A str e N/A g0 N/A N/A du conf N/A rdf.graph N/A uploader_n3_uri N/A N/A N/A N/A N/A du conf N/A rdf.namespace N/A uploader n3 N/A upload_date_n3_uri N/A N/A N/A N/A N/A du conf N/A rdf.namespace N/A upload_date n3 N/A q N/A N/A N/A N/A 
        Select ?u ?t where
        {
        GRAPH ?g
        {
         <http://somehost.com/s>
         <http://somehost.com/p>
         <http://somehost.com/o> .
        }

        ?g  uploader_n3_uri  ?u.
        ?g  upload_date_n3_uri  ?t.
        } LIMIT 1
         N/A x N/A N/A g0 query q N/A N/A N/A N/A self assertEqual N/A N/A du conf N/A user.email N/A str N/A x N/A u N/A N/A N/A unittest skip Should be tracked by version control test_add_statements_completes N/A N/A self N/A N/A N/A  Test that we can upload lots of triples.

        This is to address the problem from issue #31 on https://github.com/openworm/PyOpenWorm/issues
         N/A g N/A N/A rdflib Graph N/A i N/A range 9000 N/A N/A s N/A N/A rdflib URIRef N/A http://somehost.com/s%d i N/A p N/A N/A rdflib URIRef N/A http://somehost.com/p%d i N/A o N/A N/A rdflib URIRef N/A http://somehost.com/o%d i N/A N/A N/A g add N/A s p o N/A du N/A DataUser conf N/A self config N/A N/A N/A du add_statements g N/A N/A