Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions catalog/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def setUp(self):

# Create a book
test_author = Author.objects.create(
first_name='John', last_name='Smith')
first_name='Dominique', last_name='Rousseau')
test_genre = Genre.objects.create(name='Fantasy')
test_language = Language.objects.create(name='English')
test_book = Book.objects.create(
Expand Down Expand Up @@ -219,7 +219,7 @@ def setUp(self):

# Create a book
test_author = Author.objects.create(
first_name='John', last_name='Smith')
first_name='Dominique', last_name='Rousseau')
test_genre = Genre.objects.create(name='Fantasy')
test_language = Language.objects.create(name='English')
test_book = Book.objects.create(title='Book Title', summary='My book summary',
Expand Down Expand Up @@ -365,7 +365,7 @@ def setUp(self):

# Create a book
test_author = Author.objects.create(
first_name='John', last_name='Smith')
first_name='Dominique', last_name='Rousseau')

def test_redirect_if_not_logged_in(self):
response = self.client.get(reverse('author-create'))
Expand Down