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
11 lines
213 B
Python
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())
|