7 lines
158 B
Python
7 lines
158 B
Python
state="submitted"
|
|
def can_release(state): return state=="completed"
|
|
assert not can_release(state)
|
|
state="completed"
|
|
assert can_release(state)
|
|
print("Passed")
|