Reordered project structure

This commit is contained in:
Dennis Thiessen
2017-10-10 11:13:19 +02:00
parent 6fc4c5f5c0
commit 4f66af8d64
28 changed files with 1077 additions and 57 deletions

0
tests/__init__.py Normal file
View File

8
tests/context.py Normal file
View File

@@ -0,0 +1,8 @@
# -*- coding: utf-8 -*-
import sys
import os
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
import bot

16
tests/test_advanced.py Normal file
View File

@@ -0,0 +1,16 @@
# -*- coding: utf-8 -*-
from .context import bot
import unittest
class AdvancedTestSuite(unittest.TestCase):
"""Advanced test cases."""
def test_exists(self):
self.assertTrue(bot.core.exists())
if __name__ == '__main__':
unittest.main()

16
tests/test_basic.py Normal file
View File

@@ -0,0 +1,16 @@
# -*- coding: utf-8 -*-
from .context import bot
import unittest
class BasicTestSuite(unittest.TestCase):
"""Basic test cases."""
def test_absolute_truth_and_meaning(self):
assert True
if __name__ == '__main__':
unittest.main()