2021-11-23 08:25:09 +00:00
|
|
|
import unittest
|
|
|
|
|
2022-02-07 17:11:43 +00:00
|
|
|
from .base import TestCommandMixin
|
2021-11-23 08:25:09 +00:00
|
|
|
|
|
|
|
|
2022-02-07 17:11:43 +00:00
|
|
|
class LocalTests(unittest.TestCase, TestCommandMixin):
|
2021-11-23 08:25:09 +00:00
|
|
|
def test_local_help(self) -> None:
|
2022-02-07 17:11:43 +00:00
|
|
|
result = self.invoke(["local", "--help"])
|
2021-11-23 08:25:09 +00:00
|
|
|
self.assertIsNone(result.exception)
|
2022-02-07 17:11:43 +00:00
|
|
|
self.assertEqual(0, result.exit_code)
|
2021-11-23 08:25:09 +00:00
|
|
|
|
|
|
|
def test_local_quickstart_help(self) -> None:
|
2022-02-07 17:11:43 +00:00
|
|
|
result = self.invoke(["local", "quickstart", "--help"])
|
2021-11-23 08:25:09 +00:00
|
|
|
self.assertIsNone(result.exception)
|
2022-02-07 17:11:43 +00:00
|
|
|
self.assertEqual(0, result.exit_code)
|
2021-11-23 08:25:09 +00:00
|
|
|
|
|
|
|
def test_local_upgrade_help(self) -> None:
|
2022-02-07 17:11:43 +00:00
|
|
|
result = self.invoke(["local", "upgrade", "--help"])
|
2021-11-23 08:25:09 +00:00
|
|
|
self.assertIsNone(result.exception)
|
2022-02-07 17:11:43 +00:00
|
|
|
self.assertEqual(0, result.exit_code)
|