Adds Failing Test Case to Test
This commit is contained in:
@@ -204,6 +204,9 @@ class TestSchemaConverter(TestCase):
|
|||||||
model(friends=["John", "Jane", "John"]).friends, {"John", "Jane"}
|
model(friends=["John", "Jane", "John"]).friends, {"John", "Jane"}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
with self.assertRaises(ValueError):
|
||||||
|
model()
|
||||||
|
|
||||||
with self.assertRaises(ValueError):
|
with self.assertRaises(ValueError):
|
||||||
model(friends=[])
|
model(friends=[])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user