summaryrefslogtreecommitdiff
path: root/tests/test_declarations.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_declarations.py')
-rw-r--r--tests/test_declarations.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_declarations.py b/tests/test_declarations.py
index ef7cc0f..c57e77d 100644
--- a/tests/test_declarations.py
+++ b/tests/test_declarations.py
@@ -227,6 +227,10 @@ class PostGenerationDeclarationTestCase(unittest.TestCase):
class SubFactoryTestCase(unittest.TestCase):
+
+ def test_arg(self):
+ self.assertRaises(ValueError, declarations.SubFactory, 'UnqualifiedSymbol')
+
def test_lazyness(self):
f = declarations.SubFactory('factory.declarations.Sequence', x=3)
self.assertEqual(None, f.factory)