mirror of
https://github.com/kennethreitz-archive/python-project.git
synced 2026-06-05 07:26:15 +00:00
added haystack test runner
This commit is contained in:
Executable
+26
@@ -0,0 +1,26 @@
|
||||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
|
||||
import unittest2 as unittest
|
||||
|
||||
import haystack
|
||||
|
||||
|
||||
|
||||
class HaystackTestSuite(unittest.TestCase):
|
||||
"""Haystack Test Suite."""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def test_maths_returns_int(self):
|
||||
assert isinstance(haystack.maths(), float)
|
||||
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
Reference in New Issue
Block a user