ADD: Added suport for test coverage.
This commit is contained in:
@@ -172,7 +172,7 @@ class SetPasswordFormTestCase(FormsTestCase):
|
||||
self.assertTrue(self.client.login(username=self.test_username, password=new_password))
|
||||
|
||||
@skip('Function is implemented in SetPasswordView instead of SetPasswordForm')
|
||||
def test_save_with_mail(self):
|
||||
def test_save_with_mail(self): # pragma: no cover
|
||||
new_passwords = [
|
||||
u'"ä§ Mellon12'
|
||||
'mellon12' * 128,
|
||||
|
||||
@@ -40,7 +40,7 @@ class TestCase(SeleniumAuthMixin, SeleniumTestCase):
|
||||
c.get(self.complete_url('/'))
|
||||
try:
|
||||
link = c.find_element_by_css_selector('#login-widget a')
|
||||
except NoSuchElementException as e:
|
||||
except NoSuchElementException as e: # pragma: no cover
|
||||
self.fail(str(e))
|
||||
|
||||
def test_required_fields_in_login_form(self):
|
||||
|
||||
Reference in New Issue
Block a user