@@ -360,6 +360,11 @@ def test_run(tmp_path, caplog):
|
||||
assert "Branch doctrine removed in source, removing from detector" in caplog.text
|
||||
assert "Tag test-testu removed in source, removing from detector" in caplog.text
|
||||
|
||||
"""
|
||||
for x in executed:
|
||||
print(x.dict)
|
||||
"""
|
||||
|
||||
assert len(executed) == 24
|
||||
assert sum(ex.is_tag for ex in executed) == 3
|
||||
assert sum(ex.is_branch for ex in executed) == 2
|
||||
@@ -377,4 +382,3 @@ def test_run(tmp_path, caplog):
|
||||
refs = DiskStoredRefs(cache_dir.joinpath("detector", "tags"))
|
||||
for tag, commit in tags_new.items():
|
||||
assert commit == refs.get(tag)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user