Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wp_error = 'This page can't be saved.n Some required information is missing.'
- # create new workspace and save it without filling up any information.
- self.test_mycode.click_and_wait(self.workspace_overview.new_workspace_button,
- self.new_workspace._save_button_locator)
- self.new_workspace.save_button.click()
- self.message.check_message('error', wp_error)
- self = <class 'unittestzero.Assert'>
- first = "This page can't be saved.
- Some required information is missing."
- second = "This page can't be saved.n Some required information is missing."
- .....
- > assert first == second, msg
- E AssertionError: None
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement