summaryrefslogtreecommitdiff
path: root/tests/test_containers.py
diff options
context:
space:
mode:
authorThomas Goirand <thomas@goirand.fr>2012-10-14 13:19:59 +0000
committerThomas Goirand <thomas@goirand.fr>2012-10-14 13:19:59 +0000
commit9836e013b4494b5e320c81ec4e3f766522639be2 (patch)
tree1bd00e12b2a24a6b06b397e57bd4ab33173e7fdb /tests/test_containers.py
parent7e4e7377d2c32bc9d0bff7ece456e38b71548bb3 (diff)
downloadfactory-boy-9836e013b4494b5e320c81ec4e3f766522639be2.tar
factory-boy-9836e013b4494b5e320c81ec4e3f766522639be2.tar.gz
Back to upstream version 1.1.5
Diffstat (limited to 'tests/test_containers.py')
-rw-r--r--tests/test_containers.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/test_containers.py b/tests/test_containers.py
index b1ed6ed..797c480 100644
--- a/tests/test_containers.py
+++ b/tests/test_containers.py
@@ -178,17 +178,6 @@ class DeclarationDictTestCase(unittest.TestCase):
self.assertEqual(set(['one', 'three']), set(d))
self.assertEqual(set([1, 3]), set(d.values()))
- def test_update_with_public_ignores_factory_attributes(self):
- """Ensure that a DeclarationDict ignores FACTORY_ keys."""
- d = containers.DeclarationDict()
- d.update_with_public({
- 'one': 1,
- 'FACTORY_FOR': 2,
- 'FACTORY_ARG_PARAMETERS': 3,
- })
- self.assertEqual(['one'], list(d))
- self.assertEqual([1], list(d.values()))
-
class AttributeBuilderTestCase(unittest.TestCase):
def test_empty(self):