Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Saurabh Shekher committed Apr 21, 2020
1 parent 8328c31 commit 20c530b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def test_connection_override(self):
Connection.__init__ = Mock(return_value=None)
Connection._api_call = Mock(return_value={})
qds.main()
Connection.__init__.assert_called_with(ANY, ANY, ANY, ANY, 5, 10)
Connection.__init__.assert_called_with(ANY, ANY, ANY, ANY, 7, 10)

#Test with no values given should set default
def test_connection_default(self):
Expand All @@ -42,7 +42,7 @@ def test_connection_default(self):
Connection.__init__ = Mock(return_value=None)
Connection._api_call = Mock(return_value={})
qds.main()
Connection.__init__.assert_called_with(ANY, ANY, ANY, ANY, 5, 10)
Connection.__init__.assert_called_with(ANY, ANY, ANY, ANY, 7, 10)

if __name__ == '__main__':
unittest.main()

0 comments on commit 20c530b

Please sign in to comment.