Convert Unit tests to use py.test format

This commit is contained in:
Mike Terzo
2016-12-22 23:50:48 -05:00
parent 333347d113
commit 7302dbecec
5 changed files with 209 additions and 223 deletions

View File

@@ -1,19 +1,8 @@
import os
from puppetboard import app
import unittest
import pytest
import tempfile
class AppTestCase(unittest.TestCase):
def setUp(self):
pass
def tearDown(self):
pass
def test_first_test(self):
self.assertTrue(True)
from puppetboard import app
if __name__ == '__main__':
unittest.main()
def test_first_test():
assert app is not None, ("%s" % reg.app)