Skip to content

Commit 69514cf

Browse files
committed
fix: remove unused test
1 parent f7d3b08 commit 69514cf

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

tests/commands/record/test_session.py

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -242,31 +242,6 @@ def test_run_session_with_session_name(self):
242242
"timestamp": None,
243243
}, payload)
244244

245-
@responses.activate
246-
@mock.patch.dict(os.environ, {
247-
"SMART_TESTS_TOKEN": CliTestCase.smart_tests_token,
248-
'LANG': 'C.UTF-8',
249-
}, clear=True)
250-
def test_run_session_with_lineage_option_removed(self):
251-
# Mock session name check
252-
responses.add(
253-
responses.GET,
254-
"{}/intake/organizations/{}/workspaces/{}/builds/{}/test_sessions/{}".format(
255-
get_base_url(),
256-
self.organization,
257-
self.workspace,
258-
self.build_name,
259-
self.session_name),
260-
status=404)
261-
262-
# Test that --lineage option is no longer supported
263-
result = self.cli("record", "session", "--build", self.build_name,
264-
"--session", self.session_name,
265-
"--test-suite", "test-suite",
266-
"--lineage", "example-lineage")
267-
self.assert_exit_code(result, 2)
268-
self.assertIn("No such option: --lineage", result.output)
269-
270245
@responses.activate
271246
@mock.patch.dict(os.environ, {
272247
"SMART_TESTS_TOKEN": CliTestCase.smart_tests_token,

0 commit comments

Comments
 (0)