Permalink
Browse files

added another test for contribute

  • Loading branch information...
1 parent 9151a98 commit 055b5e8e4e8fd258cefb9e3b98ad01948fd71698 @justin-factual justin-factual committed Apr 17, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 tests/api_test.py
View
6 tests/api_test.py
@@ -124,6 +124,12 @@ def test_facets_geo(self):
# response = contribute.write()
# self.assertFalse(response['new_entity'])
#
+# def test_contribute_with_id(self):
+# values = {'name': 'Factual'}
+# contribute = self.factual.contribute('global', factual_id='03c26917-5d66-4de9-96bc-b13066173c65', values=values).user('python_driver_tester')
+# response = contribute.write()
+# self.assertFalse(response['new_entity'])
+#
# def test_flag(self):
# flag = self.factual.flag('global', '03c26917-5d66-4de9-96bc-b13066173c65').user('python_driver_tester').other().debug(True)
# response = flag.write()

0 comments on commit 055b5e8

Please sign in to comment.