Guard pattern and curve
This commit is contained in:
@@ -1850,6 +1850,8 @@ class TestApi:
|
||||
|
||||
assert is_pattern(p, 'p0') == False
|
||||
|
||||
assert get_pattern(p, 'p0') == {}
|
||||
|
||||
add_pattern(p, ChangeSet({'id' : 'p0', 'factors': [1.0, 2.0, 3.0]}))
|
||||
|
||||
assert is_pattern(p, 'p0')
|
||||
@@ -1874,6 +1876,8 @@ class TestApi:
|
||||
delete_pattern(p, ChangeSet({'id' : 'p0'}))
|
||||
assert is_pattern(p, 'p0') == False
|
||||
|
||||
assert get_pattern(p, 'p0') == {}
|
||||
|
||||
self.leave(p)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user