summaryrefslogtreecommitdiffstats
path: root/tests/test_migrations.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/test_migrations.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/test_migrations.py b/tests/test_migrations.py
index b179cab..0704c60 100644
--- a/tests/test_migrations.py
+++ b/tests/test_migrations.py
@@ -4,6 +4,7 @@ from typing import Callable, Optional, List, Tuple, Sequence
import pytest
+from debputy.commands.debputy_cmd.output import no_fancy_output
from debputy.dh_migration.migrators import Migrator
from debputy.dh_migration.migrators_impl import (
migrate_tmpfile,
@@ -99,7 +100,7 @@ def run_migrator(
*,
migration_target=INTEGRATION_MODE_DH_DEBPUTY,
) -> FeatureMigration:
- feature_migration = FeatureMigration(migrator.__name__)
+ feature_migration = FeatureMigration(migrator.__name__, no_fancy_output())
migrator(
path,
manifest,
@@ -1308,7 +1309,7 @@ def test_detect_obsolete_substvars(
)
msg = (
"The following relationship substitution variables can be removed from foo:"
- " ${misc:Depends}, ${shlibs:Depends}, ${so:Depends}"
+ " ${misc:Depends}, ${shlibs:Depends}, ${so:Depends} (Note: https://bugs.debian.org/1067653)"
)
assert migration.anything_to_do
assert migration.warnings == [msg]
@@ -1356,7 +1357,7 @@ def test_detect_obsolete_substvars_remove_field(
)
msg = (
"The following relationship fields can be removed from foo: Pre-Depends."
- " (The content in them would be applied automatically.)"
+ " (The content in them would be applied automatically. Note: https://bugs.debian.org/1067653)"
)
assert migration.anything_to_do
assert migration.warnings == [msg]
@@ -1406,7 +1407,7 @@ def test_detect_obsolete_substvars_remove_field_essential(
)
msg = (
"The following relationship fields can be removed from foo: Pre-Depends."
- " (The content in them would be applied automatically.)"
+ " (The content in them would be applied automatically. Note: https://bugs.debian.org/1067653)"
)
assert migration.anything_to_do
assert migration.warnings == [msg]