Created
September 8, 2013 03:22
-
-
Save reiki4040/6481575 to your computer and use it in GitHub Desktop.
unittest for https://gist.github.com/reiki4040/6481563
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding:utf-8 -*- | |
import unittest | |
import your_logic as logic | |
class LogicTest(unittest.TestCase): | |
def test_logic(self): | |
self.assertEquals('expect', logic.do_logic()) | |
if __name__ == '__main__': | |
unittest.main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment