File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ def test_signup_login(self):
30
30
31
31
# User sees error in form
32
32
error = self .wait_for (class_name = 'help-block' )
33
- self .assertEqual (error .text , 'The two password fields didn\' t match.' )
33
+ self .assertEqual (error .text , 'The two password fields didn’ t match.' )
34
34
35
35
# User fills in and submits sign up form correctly
36
36
form = modal .find_element_by_tag_name ('form' )
@@ -278,10 +278,6 @@ def test_delete_object(self):
278
278
alert = self .wait_for (class_name = 'alert' )
279
279
self .assertEqual (alert .text [:- 2 ], 'Success: Book was deleted.' )
280
280
281
- # User sees 'No books added yet.'
282
- no_books = self .browser .find_element_by_class_name ('no-books' )
283
- self .assertEqual (no_books .text , 'No books added yet.' )
284
-
285
281
# There is no books in database anymore
286
282
books = Book .objects .all ()
287
283
self .assertEqual (books .count (), 0 )
You can’t perform that action at this time.
0 commit comments