Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
KSerrania committed Jan 8, 2025
1 parent 0bc7a50 commit 0bc7807
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/unit_tests/package_lib_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def test_found_on_dev(self):
@patch.dict('os.environ', {'CI_COMMIT_REF_NAME': 'puppet'})
def test_not_found_on_dev(self):
c = MockContext(run={'git merge-base HEAD origin/main': Result('grand_pa')})
self.assertEqual(get_ancestor(c, self.package_sizes, False), "grand_ma")
self.assertEqual(get_ancestor(c, self.package_sizes, False), "ma")

@patch.dict('os.environ', {'CI_COMMIT_REF_NAME': 'main'})
def test_on_main(self):
Expand Down

0 comments on commit 0bc7807

Please sign in to comment.