From 14d5cf0e20da424199af5da17f1f26aa1ff4f9c4 Mon Sep 17 00:00:00 2001 From: Alex Goodwin Date: Sun, 24 Nov 2024 00:33:25 +1000 Subject: [PATCH] Fix test blast damage --- Tests/Inputs/testStarlineParser.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Tests/Inputs/testStarlineParser.py b/Tests/Inputs/testStarlineParser.py index 48a3cffc7..453a29d5e 100644 --- a/Tests/Inputs/testStarlineParser.py +++ b/Tests/Inputs/testStarlineParser.py @@ -161,7 +161,7 @@ def test_parser_screwball_synthetic_starline_5(self): self.assertEqual('', transformed[17], 'Unexpected residual') def test_parser_screwball_synthetic_starline_6(self): - txt = '0000 000000000000000 0000000-0 000000000000000 - - R 000 000000' + txt = '0000 000000000000000 ?000000-0 000000000000000 - - R 000 000000' foo = StarlineParser() result, txt = foo.parse(txt) @@ -171,7 +171,7 @@ def test_parser_screwball_synthetic_starline_6(self): self.assertTrue(isinstance(transformed, list), "Transformed result not list") self.assertEqual('0000', transformed[0], 'Unexpected hex position') self.assertEqual('000000000000000', transformed[1], 'Unexpected name') - self.assertEqual('0000000-0', transformed[2], 'Unexpected UWP') + self.assertEqual('?000000-0', transformed[2], 'Unexpected UWP') self.assertEqual('000000000000000', transformed[3], 'Unexpected trade codes') self.assertEqual('', transformed[4]) self.assertEqual(None, transformed[5]) @@ -261,7 +261,7 @@ def test_parser_screwball_synthetic_starline_9(self): self.assertEqual('', transformed[17], 'Unexpected residual') def test_parser_screwball_synthetic_starline_10(self): - txt = '0000 000000000000000 0000000-0 000000000000000 - - - 000 00' + txt = '0000 000000000000000 ?000000-0 000000000000000 - - - 000 00' foo = StarlineParser() result, txt = foo.parse(txt) @@ -271,7 +271,7 @@ def test_parser_screwball_synthetic_starline_10(self): self.assertTrue(isinstance(transformed, list), "Transformed result not list") self.assertEqual('0000', transformed[0], 'Unexpected hex position') self.assertEqual('000000000000000', transformed[1], 'Unexpected name') - self.assertEqual('0000000-0', transformed[2], 'Unexpected UWP') + self.assertEqual('?000000-0', transformed[2], 'Unexpected UWP') self.assertEqual('000000000000000', transformed[3], 'Unexpected trade codes') self.assertEqual('', transformed[4]) self.assertEqual(None, transformed[5])