mirror of
https://github.com/facebook/sapling.git
synced 2024-10-05 14:28:17 +03:00
323801a221
Reviewed By: kmancini Differential Revision: D37961720 fbshipit-source-id: e05ffab240458bbd98bc874e36c2852c2cfd36c7
22 lines
694 B
Python
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)
|