Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*[“‘][a-z0-9\-_\!\$]+[“‘]': def test_poll_vote(self): category = CategoryFactory() poll = PollFactory(category=category) poll_option = PollOptionFactory(poll=poll) user = UserAuthFactory() self.client.login(username=user.username, password='qwerty') url = reverse('poll-list') resp = self.client.get(url) self.assertNotContains(resp, u'Только зарегиÑтрированные пользователи могут учаÑтвовать в голоÑовании.') self.assertContains(resp, poll_option.text) self. Source: http://pastebin.com/raw.php?i=fuEKuvDU
↧