forked from siyuniu/memes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathunittests.py
39 lines (26 loc) · 973 Bytes
/
unittests.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import unittest2
import categoryClass import Category
import userClass import User
#WIP figuring out unit tests
class TestCategoryMethods(unittest.TestCase):
def test_get_picture(self):
self.assertEqual(self.get_picture(), )
def test_get_subreddit(self):
self.assertEqual(self.get_subreddit(), )
def test_get_bio(self):
self.assertEqual(self.get_bio(), )
class TestUserMethods(unittest.TestCase):
def test_get_first(self):
self.assertEqual(self.returnFirstName(), )
def test_get_second(self):
self.assertEqual(self.returnSecondName(), )
def test_get_bio(self):
self.assertEqual(self.returnBio(), )
def test_get_picture(self):
self.assertEqual(self.returnAge(), )
def test_get_age(self):
self.assertEqual(self.returnGeography(), )
def test_get_geography(self):
self.assertEqual(self.returnSubreddit, )
if __name__ == '__main__':
unittest2.main()