Skip to content

Commit

Permalink
Ignoring find_ia_account in account test
Browse files Browse the repository at this point in the history
  • Loading branch information
mekarpeles authored and root committed Aug 3, 2017
1 parent 866cfca commit 084970f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions openlibrary/plugins/upstream/tests/test_forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ def test_leaks(self):

def test_validate(self, monkeypatch):
monkeypatch.setattr(forms, 'find_account', lambda **kw: None)
monkeypatch.setattr(forms, 'find_ia_account', lambda **kw: None)
monkeypatch.setattr(spamcheck, "get_spam_domains", lambda: [])

f = forms.Register()
Expand Down

0 comments on commit 084970f

Please sign in to comment.