Skip to content

Commit

Permalink
update tests for argparse func
Browse files Browse the repository at this point in the history
  • Loading branch information
sigma67 committed Apr 8, 2023
1 parent be37caa commit 14ccb64
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
class TestCli(unittest.TestCase):
def test_get_args(self):
args = get_args(["all", "--public"])
self.assertEqual(len(vars(args)), 2)
self.assertEqual(len(vars(args)), 3)
args = get_args(["create", "playlist-link"])
self.assertEqual(len(vars(args)), 6)
self.assertEqual(len(vars(args)), 7)
args = get_args(["update", "playlist-link"])
self.assertEqual(len(vars(args)), 3)
self.assertEqual(len(vars(args)), 4)
args = get_args(["setup"])
self.assertEqual(len(vars(args)), 2)
self.assertEqual(len(vars(args)), 3)

0 comments on commit 14ccb64

Please sign in to comment.