This commit is contained in:
@@ -3,7 +3,7 @@ from selenium.webdriver.common.by import By
|
||||
from selenium.webdriver.common.keys import Keys
|
||||
|
||||
|
||||
class SeleniumAuthMixin(object):
|
||||
class SeleniumAuthMixin:
|
||||
def login(self, driver, username, password):
|
||||
driver.get(self.complete_url(reverse('dav_auth:login')))
|
||||
username_field = self.wait_on_presence(driver, (By.ID, 'id_username'))
|
||||
|
||||
Reference in New Issue
Block a user