mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2025-02-02 12:22:22 +00:00
Black
This commit is contained in:
parent
9fa8caba45
commit
594fa5d058
2 changed files with 1 additions and 2 deletions
|
@ -44,7 +44,6 @@ class BookWyrmModel(models.Model):
|
|||
model_name = type(self).__name__.lower()
|
||||
return f"{base_path}/{model_name}/{self.id}"
|
||||
|
||||
|
||||
class Meta:
|
||||
"""this is just here to provide default fields for other models"""
|
||||
|
||||
|
|
|
@ -104,7 +104,7 @@ class AbstractConnector(TestCase):
|
|||
|
||||
self.assertEqual(models.Book.objects.count(), 1)
|
||||
self.assertEqual(result, self.book)
|
||||
|
||||
|
||||
@responses.activate
|
||||
def test_get_or_create_book_deduped(self):
|
||||
"""load remote data and deduplicate"""
|
||||
|
|
Loading…
Reference in a new issue