Skip to content

Commit

Permalink
Fix: Unit tests after renaming argument
Browse files Browse the repository at this point in the history
  • Loading branch information
n-thumann authored and bjoernricks committed Jun 7, 2023
1 parent 0ff386e commit 291b3de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/updateheader/test_header.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ def test_argparser_files(self):
self.assertEqual(args.company, self.args.company)
self.assertEqual(args.files, ["test.py"])
self.assertEqual(args.year, self.args.year)
self.assertEqual(args.license, self.args.license_id)
self.assertEqual(args.license_id, self.args.license_id)

def test_argparser_dir(self):
self.args.year = "2020"
Expand All @@ -440,7 +440,7 @@ def test_argparser_dir(self):
self.assertEqual(args.directories, ["."])
self.assertTrue(args.changed)
self.assertEqual(args.year, str(datetime.datetime.now().year))
self.assertEqual(args.license, self.args.license_id)
self.assertEqual(args.license_id, self.args.license_id)

def test_get_exclude_list(self):
# Try to find the current file from two directories up...
Expand Down

0 comments on commit 291b3de

Please sign in to comment.