mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-14 02:58:16 +01:00
652fbd74be
Tests that can not work because of missing endpoints in the controllers were removed. Also tests that have no clear intent and were failing were deleted.
16 lines
No EOL
415 B
Python
16 lines
No EOL
415 B
Python
import logging
|
|
import unittest
|
|
from cbpi.cli import CraftBeerPiCli
|
|
|
|
from cbpi.configFolder import ConfigFolder
|
|
|
|
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(name)s - %(message)s')
|
|
|
|
class CLITest(unittest.TestCase):
|
|
|
|
def test_list(self):
|
|
cli = CraftBeerPiCli(ConfigFolder("./cbpi-test-config"))
|
|
cli.plugins_list()
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main() |