|
@@ -802,6 +802,16 @@ class TestModelverse(unittest.TestCase):
|
|
|
assert entry[1].startswith("type mappings/")
|
|
|
assert entry[2] == None
|
|
|
|
|
|
+ # Test non-existing model
|
|
|
+ try:
|
|
|
+ model_types("adfadf")
|
|
|
+ self.fail()
|
|
|
+ except UnknownModel:
|
|
|
+ pass
|
|
|
+
|
|
|
+ # Test non-model location
|
|
|
+ assert model_types("formalisms") == set([])
|
|
|
+
|
|
|
def test_op_folder_create(self):
|
|
|
# Create a folder
|
|
|
assert folder_create("users/user/test/folder_a") == None
|