mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 16:31:02 +03:00
55da8ffcbc
Summary: just running the linter! Reviewed By: chadaustin Differential Revision: D26000269 fbshipit-source-id: 184eb962fa7b88eb9b8b6bd22ae76477cbb6a06c
21 lines
672 B
Python
21 lines
672 B
Python
#!/usr/bin/env python3
|
|
# Copyright (c) Facebook, Inc. and its 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)
|