Update logo location to use docs logos

This commit is contained in:
Isaac Bythewood
2019-12-08 21:02:49 +00:00
parent 6acb14be6b
commit 8b4053a8d9
6 changed files with 5 additions and 5 deletions

View File

@@ -19,7 +19,7 @@ class CreateImageTest(TestCase):
Image.objects.all().delete()
def test_post(self):
with open('logo.png', mode='rb') as image:
with open('docs/src/imgs/logo-dark.png', mode='rb') as image:
response = self.client.post(reverse('image-list'), {'image': image})
image = Image.objects.latest('pk')
self.assertEqual(response.json()['id'], image.pk)