Advertisement
Guest User

Untitled

a guest
Oct 24th, 2014
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. wp_error = 'This page can't be saved.n Some required information is missing.'
  2.  
  3. # create new workspace and save it without filling up any information.
  4. self.test_mycode.click_and_wait(self.workspace_overview.new_workspace_button,
  5. self.new_workspace._save_button_locator)
  6. self.new_workspace.save_button.click()
  7.  
  8. self.message.check_message('error', wp_error)
  9.  
  10. self = <class 'unittestzero.Assert'>
  11. first = "This page can't be saved.
  12. Some required information is missing."
  13. second = "This page can't be saved.n Some required information is missing."
  14. .....
  15.  
  16. > assert first == second, msg
  17. E AssertionError: None
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement