sapling/eden/integration/help_test.py
Xavier Deguillard 323801a221 integration: do not run skipped/disabled tests
Reviewed By: kmancini

Differential Revision: D37961720

fbshipit-source-id: e05ffab240458bbd98bc874e36c2852c2cfd36c7
2022-07-22 09:51:17 -07:00

22 lines
694 B
Python

#!/usr/bin/env python3
# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.
from .lib import edenclient, testcase
@testcase.eden_test
class HelpTest(testcase.IntegrationTestCase):
"""
This test verifies the Eden CLI can at least load its Python code.
It can be removed when the remaining integration tests are enabled
on sandcastle.
"""
def test_eden_cli_help_returns_without_error(self) -> None:
with edenclient.EdenFS() as client:
cmd_result = client.run_unchecked("help")
self.assertEqual(0, cmd_result.returncode)