-
Notifications
You must be signed in to change notification settings - Fork 18
/
test_mana.py
39 lines (29 loc) · 840 Bytes
/
test_mana.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# coding: utf-8
"""
[unittest]
test_mana for test mana
"""
import unittest
# test create
from mana.mana import create_templates_static_files, create_blueprint
# test command
from mana.mana import init, startproject, admin, version, blueprint
from setup import version
class ManaTestCase(unittest.TestCase):
"""mana test cases"""
def test_command_init(self):
# test command init
pass
def test_command_startproject(self):
pass
def test_command_admin(self):
pass
def test_command_version(self):
# test mana version
test_mana_version = "mana version: %s \/" % version
mana_version = eval("mana version")
self.assertTrue(mana_version=test_mana_version)
def test_command_blueprint(self):
pass
if __name__ == "__main__":
unittest.main()