Skip to content

Commit

Permalink
reverse
Browse files Browse the repository at this point in the history
  • Loading branch information
aothms committed Dec 19, 2024
1 parent 9adacfc commit 826aca4
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions features/steps/givens/entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,17 +76,4 @@ def step_impl(context, inst, relationship_direction):
def step_impl(context, inst):
# Note that this includes `inst` as the first element in this list
instances = context.model.traverse(inst)
yield ValidationOutcome(instance_id=instances, severity=OutcomeSeverity.PASSED)

"""
@gherkin_ifc.step("its entity type is {entity}")
def step_impl(context, inst, entity):
negate = False
entity = entity.split(' ')
if entity[0] == 'not':
negate = not negate
entity = entity[1:]
entity = entity[0]
if inst.is_a(entity):
yield ValidationOutcome(instance_id=inst, severity=OutcomeSeverity.PASSED)
"""
yield ValidationOutcome(instance_id=instances, severity=OutcomeSeverity.PASSED)

0 comments on commit 826aca4

Please sign in to comment.