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

@@ -1,4 +1,4 @@
# ![Pinry](https://raw.github.com/pinry/pinry/master/logo.png)
# ![Pinry](https://raw.github.com/pinry/pinry/master/docs/src/imgs/logo-dark.png)
The open-source core of Pinry, a tiling image board system for people
who want to save, tag, and share images, videos and webpages in an easy

View File

@@ -13,7 +13,7 @@ from core.models import Pin, Image
def mock_requests_get(url, **kwargs):
response = mock.Mock(content=open('logo.png', 'rb').read())
response = mock.Mock(content=open('docs/src/imgs/logo-dark.png', 'rb').read())
return response

View File

@@ -8,7 +8,7 @@ from core.models import Pin, Image
from users.models import User
TEST_IMAGE_PATH = 'logo.png'
TEST_IMAGE_PATH = 'docs/src/imgs/logo-dark.png'
def create_user(username):

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)

BIN
logo.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

View File

@@ -9,7 +9,7 @@ from .models import User
def mock_requests_get(url, headers=None):
response = mock.Mock(content=open('logo.png', 'rb').read())
response = mock.Mock(content=open('docs/src/imgs/logo-dark.png', 'rb').read())
return response