Skip to content

Commit 6f698cb

Browse files
committed
Add test that PPLAN.Variable not in semantic_types after _get_variable()
1 parent b66c568 commit 6f698cb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/test_fairstep.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ def test_step(a:float, b:float) -> float:
264264

265265
assert hasattr(test_step, '_fairstep')
266266
for var in test_step._fairstep.inputs:
267+
assert namespaces.PPLAN.Variable not in var.semantic_types
267268
if var.name == 'a':
268269
assert var.computational_type == 'float'
269270
for sem_type in test_types_a:

0 commit comments

Comments
 (0)