diff --git a/tests/test_integration.py b/tests/test_integration.py index 7ff7795..97d82b4 100644 --- a/tests/test_integration.py +++ b/tests/test_integration.py @@ -1247,19 +1247,19 @@ class TupleClassTap(Tap): self.assertEqual(args.tup, true_args) - def test_tuple_literally_one(self): + def test_tuple_literally_three(self): class LiterallyOne(Tap): - tup: Tuple[Literal[1]] + tup: Tuple[Literal[3]] - input_args = ("1",) - true_args = (1,) + input_args = ("3",) + true_args = (3,) args = LiterallyOne().parse_args(["--tup", *input_args]) self.assertEqual(args.tup, true_args) with self.assertRaises(SystemExit): - LiterallyOne().parse_args(["--tup", "2"]) + LiterallyOne().parse_args(["--tup", "5"]) def test_tuple_literally_two(self): class LiterallyTwo(Tap):