mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
a29d465ee8
Summary: With Facebook having been renamed Meta Platforms, we need to change the license headers. Reviewed By: fanzeyi Differential Revision: D33407812 fbshipit-source-id: b11bfbbf13a48873f0cea75f212cc7b07a68fb2e
21 lines
674 B
Python
21 lines
674 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
|
|
|
|
|
|
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)
|