From 4f80acced4af82ea39f4465620aa7d3c8b27252b Mon Sep 17 00:00:00 2001 From: debugtalk Date: Tue, 23 Jun 2020 14:43:24 +0800 Subject: [PATCH] fix: unittests for ensure export --- tests/compat_test.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/compat_test.py b/tests/compat_test.py index 0b5f3bc3..d0a1dec0 100644 --- a/tests/compat_test.py +++ b/tests/compat_test.py @@ -95,7 +95,10 @@ class TestCompat(unittest.TestCase): self.assertEqual( compat.ensure_testcase_v3_api(api_content), { - "config": {"name": "get with params"}, + "config": { + "name": "get with params", + "export": ["varA", "user_agent"], + }, "teststeps": [ { "name": "get with params",