mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-29 14:30:52 +00:00
style(tests): wrap the variant declarations the formatter reflowed
Autoformat output from a quality run, carried along since. The syntax tree is unchanged. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
671dd2f192
commit
ecfefbeae9
1 file changed
+4
-1
@@ -46,7 +46,10 @@ class TestImageDiscoveryVersionVariants(unittest.TestCase):
|
||||
self.assertIn("docker.io/libretranslate/libretranslate:v1.9.6-cuda", sources)
|
||||
|
||||
def test_blank_and_non_list_variants_are_ignored(self) -> None:
|
||||
for declaration in (' version_variants: "-cuda"\n', " version_variants:\n - ' '\n"):
|
||||
for declaration in (
|
||||
' version_variants: "-cuda"\n',
|
||||
" version_variants:\n - ' '\n",
|
||||
):
|
||||
with self.subTest(declaration=declaration):
|
||||
self.assertEqual({"v1.9.6"}, self._versions(BASE + declaration))
|
||||
|
||||
|
||||
Reference in new issue
Block a user