so ghetto

This commit is contained in:
Kenneth Reitz
2011-03-24 03:51:07 -04:00
parent d97eaaa317
commit 4aae9eb82c
Executable
+37
View File
@@ -0,0 +1,37 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import unittest
import humble
class HumbleTestSuite(unittest.TestCase):
"""Humble test cases."""
def setUp(self):
pass
def tearDown(self):
"""Teardown."""
pass
def test_humble_works(self):
"""Most ghetto test ever."""
os.system('./humbler kennethreitz')
def test_get_user(self):
user = humble.get_info_for('kennethreitz')
user2 = humble.get_info_for('some_user_that_is_not_real')
def test_get_repos(self):
repos = humble.get_repos_for('kennethreitz')
if __name__ == '__main__':
unittest.main()