Skip to content

Commit 478624e

Browse files
bearomorphismLee-W
authored andcommitted
test(changelog): remove unused timer fixture
1 parent a472bea commit 478624e

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

tests/commands/test_changelog_command.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,6 @@ def test_changelog_with_filename_as_empty_string(
884884

885885

886886
@pytest.mark.usefixtures("tmp_commitizen_project")
887-
@pytest.mark.freeze_time("2022-02-13")
888887
def test_changelog_from_rev_first_version_from_arg(
889888
mocker: MockFixture, config_path, changelog_path, file_regression
890889
):
@@ -918,7 +917,6 @@ def test_changelog_from_rev_first_version_from_arg(
918917

919918

920919
@pytest.mark.usefixtures("tmp_commitizen_project")
921-
@pytest.mark.freeze_time("2022-02-13")
922920
def test_changelog_from_rev_latest_version_from_arg(
923921
mocker: MockFixture, config_path, changelog_path, file_regression
924922
):
@@ -954,7 +952,6 @@ def test_changelog_from_rev_latest_version_from_arg(
954952

955953

956954
@pytest.mark.usefixtures("tmp_commitizen_project")
957-
@pytest.mark.freeze_time("2022-02-13")
958955
@pytest.mark.parametrize(
959956
"rev_range,tag",
960957
(
@@ -986,7 +983,6 @@ def test_changelog_from_rev_range_not_found(
986983

987984

988985
@pytest.mark.usefixtures("tmp_commitizen_project")
989-
@pytest.mark.freeze_time("2022-02-13")
990986
def test_changelog_multiple_matching_tags(
991987
mocker: MockFixture, config_path, changelog_path
992988
):
@@ -1016,7 +1012,6 @@ def test_changelog_multiple_matching_tags(
10161012

10171013

10181014
@pytest.mark.usefixtures("tmp_commitizen_project")
1019-
@pytest.mark.freeze_time("2022-02-13")
10201015
def test_changelog_from_rev_range_default_tag_format(
10211016
mocker, config_path, changelog_path
10221017
):
@@ -1047,7 +1042,6 @@ def test_changelog_from_rev_range_default_tag_format(
10471042

10481043

10491044
@pytest.mark.usefixtures("tmp_commitizen_project")
1050-
@pytest.mark.freeze_time("2022-02-13")
10511045
def test_changelog_from_rev_version_range_including_first_tag(
10521046
mocker: MockFixture, config_path, changelog_path, file_regression
10531047
):
@@ -1079,7 +1073,6 @@ def test_changelog_from_rev_version_range_including_first_tag(
10791073

10801074

10811075
@pytest.mark.usefixtures("tmp_commitizen_project")
1082-
@pytest.mark.freeze_time("2022-02-13")
10831076
def test_changelog_from_rev_version_range_from_arg(
10841077
mocker: MockFixture, config_path, changelog_path, file_regression
10851078
):
@@ -1119,7 +1112,6 @@ def test_changelog_from_rev_version_range_from_arg(
11191112

11201113

11211114
@pytest.mark.usefixtures("tmp_commitizen_project")
1122-
@pytest.mark.freeze_time("2022-02-13")
11231115
def test_changelog_from_rev_version_range_with_legacy_tags(
11241116
mocker: MockFixture, config_path, changelog_path, file_regression
11251117
):
@@ -1154,7 +1146,6 @@ def test_changelog_from_rev_version_range_with_legacy_tags(
11541146

11551147

11561148
@pytest.mark.usefixtures("tmp_commitizen_project")
1157-
@pytest.mark.freeze_time("2022-02-13")
11581149
def test_changelog_from_rev_version_with_big_range_from_arg(
11591150
mocker: MockFixture, config_path, changelog_path, file_regression
11601151
):
@@ -1214,7 +1205,6 @@ def test_changelog_from_rev_version_with_big_range_from_arg(
12141205

12151206

12161207
@pytest.mark.usefixtures("tmp_commitizen_project")
1217-
@pytest.mark.freeze_time("2022-02-13")
12181208
def test_changelog_from_rev_latest_version_dry_run(
12191209
mocker: MockFixture, capsys, config_path, changelog_path, file_regression
12201210
):
@@ -1267,7 +1257,6 @@ def test_invalid_subject_is_skipped(mocker: MockFixture, capsys):
12671257
assert out == ("## Unreleased\n\n### Feat\n\n- a new world\n\n")
12681258

12691259

1270-
@pytest.mark.freeze_time("2022-02-13")
12711260
@pytest.mark.usefixtures("tmp_commitizen_project")
12721261
def test_changelog_with_customized_change_type_order(
12731262
mocker, config_path, changelog_path, file_regression
@@ -1325,7 +1314,6 @@ def test_empty_commit_list(mocker):
13251314

13261315

13271316
@pytest.mark.usefixtures("tmp_commitizen_project")
1328-
@pytest.mark.freeze_time("2022-02-13")
13291317
def test_changelog_prerelease_rev_with_use_scheme_semver(
13301318
mocker: MockFixture, capsys, config_path, changelog_path, file_regression
13311319
):

0 commit comments

Comments
 (0)