File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 55from sqlalchemy import create_engine
66from sqlalchemy .orm import aliased , sessionmaker
77
8- from semsql .sqla .semsql import (OwlAxiomAnnotation , OwlSomeValuesFrom ,
9- RdfsLabelStatement , RdfsSubclassOfStatement , NodeIdentifier )
8+ from semsql .sqla .semsql import (NodeIdentifier , OwlAxiomAnnotation ,
9+ OwlSomeValuesFrom , RdfsLabelStatement ,
10+ RdfsSubclassOfStatement )
1011
1112cwd = os .path .abspath (os .path .dirname (__file__ ))
1213DB_DIR = os .path .join (cwd , "../inputs" )
@@ -119,11 +120,8 @@ def test_axiom_annotation(self):
119120 def test_node_prefixes (self ):
120121 session = self .session
121122 n = 0
122- for row in session .query (NodeIdentifier ).filter (
123- NodeIdentifier .prefix == "RO"
124- ):
123+ for row in session .query (NodeIdentifier ).filter (NodeIdentifier .prefix == "RO" ):
125124 logging .info (row )
126125 n += 1
127126 assert row .id .startswith ("RO:" )
128127 self .assertEqual (row .id , row .prefix + ":" + row .local_identifier )
129-
You can’t perform that action at this time.
0 commit comments