sapling/eden/integration/help_test.py
Genevieve Helsel 55da8ffcbc run linter in eden/integration
Summary: just running the linter!

Reviewed By: chadaustin

Differential Revision: D26000269

fbshipit-source-id: 184eb962fa7b88eb9b8b6bd22ae76477cbb6a06c
2021-01-25 16:13:54 -08:00

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)