def setUp(self): # Clear the in-memory key value store MEMORY_KVS.clear() Usage.reinitialize_all() # Suzy opens the browser to visit the workbench self.browser.get(self.live_server_url) # She knows it's the site by the header h1 = self.browser.find_element_by_css_selector('h1') self.assertEqual(h1.text, 'XBlock scenarios')
def setUp(self): super(SeleniumTest, self).setUp() # Clear the in-memory key value store MEMORY_KVS.clear()
def setUp(self): super(SeleniumTest, self).setUp() # Clear the in-memory key value store MEMORY_KVS.clear() Usage.reinitialize_all()