From bc7d69f0956d1a66ffc9d3f4b645f6419e847331 Mon Sep 17 00:00:00 2001 From: "nitromaster101@gmail.com" Date: Wed, 22 Jul 2009 18:45:54 +0000 Subject: cleanup, incorporate changes from code review, and move merge and split stuff into freebase.experimental git-svn-id: http://freebase-python.googlecode.com/svn/trunk@201 5914aa95-5b3a-0410-a3b5-7b719e7fe9b2 --- test/test_hardcore_schema_manipulation.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'test/test_hardcore_schema_manipulation.py') diff --git a/test/test_hardcore_schema_manipulation.py b/test/test_hardcore_schema_manipulation.py index aaecf28..e078a4d 100644 --- a/test/test_hardcore_schema_manipulation.py +++ b/test/test_hardcore_schema_manipulation.py @@ -69,9 +69,15 @@ class TestHardcoreSchemaManipulation(unittest.TestCase): self.assertEqual([ignore_base(prop_id) for prop_id in realproperties], [ignore_base(prop_id) for prop_id in newproperties]) # - check the properties and type's attributes are the same + # TODO + def test_restore_over_restore(self): + domain_id = _create_domain() + graph = dump_domain(s, "/base/contractbridge") + restore(s, graph, domain_id) - + # now we restore again... it should raise a MetawebError + self.assertRaises(MetawebError, restore(s, graph, domain_id)) def test_try_copying_a_cvt(self): -- cgit v1.3.1