mirror of
https://github.com/kennethreitz-archive/python-project.git
synced 2026-06-05 15:30:19 +00:00
26 lines
384 B
Python
Executable File
26 lines
384 B
Python
Executable File
#!/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() |