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):
3030
3131 # User sees error in form
3232 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.' )
3434
3535 # User fills in and submits sign up form correctly
3636 form = modal .find_element_by_tag_name ('form' )
@@ -278,10 +278,6 @@ def test_delete_object(self):
278278 alert = self .wait_for (class_name = 'alert' )
279279 self .assertEqual (alert .text [:- 2 ], 'Success: Book was deleted.' )
280280
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-
285281 # There is no books in database anymore
286282 books = Book .objects .all ()
287283 self .assertEqual (books .count (), 0 )
You can’t perform that action at this time.
0 commit comments