mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 00:14:35 +03:00
fbdb46f5cb
Reviewed By: chadaustin Differential Revision: D17872966 fbshipit-source-id: cd60a364a2146f0dadbeca693b1d4a5d7c97ff63
23 lines
668 B
Python
23 lines
668 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.
|
|
|
|
import unittest
|
|
|
|
from .lib import edenclient
|
|
|
|
|
|
class HelpTest(unittest.TestCase):
|
|
"""
|
|
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)
|