Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions tests/test_shoogle.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def test_main_without_arguments_shows_usage_and_help_messages(self):
self.assertIn("usage: ", e.err)
self.assertIn("positional arguments:", e.err)
self.assertIn("{show,execute}", e.err)
self.assertIn("optional arguments:", e.err)
self.assertIn("options:", e.err)

def test_main_with_option_shows_usage_and_help_messages(self):
e = main(["-h"])
Expand All @@ -63,7 +63,7 @@ def test_main_with_option_shows_usage_and_help_messages(self):
self.assertIn("usage: ", e.out)
self.assertIn("positional arguments:", e.out)
self.assertIn("{show,execute}", e.out)
self.assertIn("optional arguments:", e.out)
self.assertIn("options:", e.out)

def test_main_with_option_shows_version(self):
e = main(["-v"])
Expand All @@ -77,7 +77,6 @@ def test_main_with_empty_show_command_shows_all_services_sorted(self):
self.assertEqual(0, e.status)
lines = e.out.splitlines()
services = [line.split()[0] for line in lines]
self.assertIn("webmasters:v3", services)
self.assertIn("youtube:v3", services)
self.assertEqual(list(sorted(services)), services)

Expand Down