Skip to content

Instantly share code, notes, and snippets.

View georgedorn's full-sized avatar
💭
mostly moved to gitlab

Sam Thompson georgedorn

💭
mostly moved to gitlab
View GitHub Profile
index 146ac15..647a826 100644
--- a/tests/core/tests/resources.py
+++ b/tests/core/tests/resources.py
@@ -1404,6 +1404,24 @@ class ModelResourceTestCase(TestCase):
self.assertTrue("resource_uri" in data)
self.assertTrue("title" in data)
self.assertTrue("is_active" in data)
+
+ def test_post_list_duplicate(self):
+ self.assertEqual(Note.objects.count(), 6)