diff --git a/djangoldp/tests/tests_get.py b/djangoldp/tests/tests_get.py index abedc23f5f2f5a5d736b0b386f56672c7acc01b0..9f5564d90e442febb92e350d99aedfe7dab25131 100644 --- a/djangoldp/tests/tests_get.py +++ b/djangoldp/tests/tests_get.py @@ -35,3 +35,8 @@ class TestGET(APITestCase): self.assertIn('permissions', response.data) self.assertEquals(1, len(response.data['permissions'])) # read only + def test_get_empty_container(self): + Post.objects.all().delete() + response = self.client.get('/posts/', content_type='application/ld+json') + self.assertEqual(response.status_code, 200) +