Files
grian-ui/tests/grian_ui_tests/unit/test_main.py
Sean Mooney 8346769c9b set up basic unittesting
this chnage setup up unit testing with
stestr as the test runner and
django.test.SimpleTestCase as the base of our tests.

This avoid the depency on manage.py or run_tests.sh

Change-Id: Ib39d20861928a3052eaa9e9adc3f984ae20aad03
2025-05-19 23:51:57 +00:00

11 lines
213 B
Python

#
# SPDX-License-Identifier: Apache-2.0
from grian_ui import main
from grian_ui_tests.unit import base
class MainTests(base.TestCase):
def test_message(self):
self.assertEqual("hi", main.message())