-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
47 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -491,17 +491,10 @@ def test_jobs(self): | |
limit=1, ignore_status=ignore_status), [ | ||
PJ('b72369f9-a886-4193-8d3d-f7b504168e75')]) | ||
|
||
# no jobs | ||
self.assertEqual(qdb.user.User('[email protected]').jobs( | ||
ignore_status=ignore_status), []) | ||
|
||
# generates expected jobs | ||
jobs = qdb.user.User('[email protected]').jobs() | ||
self.assertEqual(jobs, []) | ||
|
||
# no jobs | ||
self.assertEqual(qdb.user.User('[email protected]').jobs(), []) | ||
|
||
def test_update_email(self): | ||
user = qdb.user.User('[email protected]') | ||
with self.assertRaisesRegex(IncorrectEmailError, 'Bad email given:'): | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters