diff --git a/tests/unit/test_platforms.py b/tests/unit/test_platforms.py index 0f818a76..6bb3d39d 100644 --- a/tests/unit/test_platforms.py +++ b/tests/unit/test_platforms.py @@ -98,6 +98,34 @@ ) for arch in craft_platforms.DebianArchitecture ), + pytest.param( + { + "🐉🎄 Ⓣ卄I𝐬 ⓘ𝕊 α ש𝓐𝐋𝐢𝓓 ρlάţƑᵒᖇ𝔪 ᑎคⓜⒺ 👣♡": { # noqa: RUF001 + "build-on": ["amd64"], + "build-for": ["all"], + } + }, + { + "🐉🎄 Ⓣ卄I𝐬 ⓘ𝕊 α ש𝓐𝐋𝐢𝓓 ρlάţƑᵒᖇ𝔪 ᑎคⓜⒺ 👣♡": [ # noqa: RUF001 + (craft_platforms.DebianArchitecture.AMD64, "all"), + ], + }, + id="crazy-text", + ), + pytest.param( + { + "ǝɯɐu ɯɹoɟʇɐld pılɐʌ ɐ sı sıɥ⊥": { # noqa: RUF001 + "build-on": ["amd64"], + "build-for": ["all"], + } + }, + { + "ǝɯɐu ɯɹoɟʇɐld pılɐʌ ɐ sı sıɥ⊥": [ # noqa: RUF001 + (craft_platforms.DebianArchitecture.AMD64, "all"), + ], + }, + id="southern-hemisphere-validity", + ), ], ) def test_build_plans_success(