sapling/eden/integration/help_test.py
Xavier Deguillard a29d465ee8 fs: fix license header
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
2022-01-04 15:00:07 -08:00

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)