]> git.openstreetmap.org Git - osqa.git/blob - forum/models/tests/test_user.py
adding an example test for the user module. the fixture portion of this maybe not...
[osqa.git] / forum / models / tests / test_user.py
1 from django.test import TestCase
2 from forum.models.user import *
3
4 class UserTest(TestCase):
5     fixtures = ['users.xml']
6
7     def setUp(self):
8         self.client.login(username='super', password='secret')
9
10         
11
12     def tearDown(self):
13         self.client.logout()
14
15     def test_gravatar(self):
16         
17         self.assert_(True)
18
19     def test_save(self):
20         self.assert_(True)
21
22     def test_get_absolute_url(self):
23         self.assert_(True)
24
25     def test_get_messages(self):
26         self.assert_(True)
27
28     def test_delete_messages(self):
29         self.assert_(True)
30
31     def test_get_profile_url(self):
32         self.assert_(True)
33
34     def test_get_profile_link(self):
35         self.assert_(True)
36
37     def test_get_visible_answers(self):
38         self.assert_(True)
39
40     def test_get_vote_count_today(self):
41         self.assert_(True)
42
43     def test_get_reputation_by_upvoted_today(self):
44         self.assert_(True)
45
46     def test_get_flagged_items_count_today(self):
47         self.assert_(True)
48
49     def test_can_view_deleted_post(self):
50         self.assert_(True)
51
52     def test_can_vote_up(self):
53         self.assert_(True)
54
55     def test_can_vote_down(self):
56         self.assert_(True)
57
58     def test_can_flag_offensive(self):
59         self.assert_(True)
60
61     def test_can_view_offensive_flags(self):
62         self.assert_(True)
63
64     def test_can_comment(self):
65         self.assert_(True)
66
67     def test_can_like_comment(self):
68         self.assert_(True)
69
70     def test_can_edit_comment(self):
71         self.assert_(True)
72
73     def test_can_delete_comment(self):
74         self.assert_(True)
75
76     def test_can_accept_answer(self):
77         self.assert_(True)
78
79     def test_can_edit_post(self):
80         self.assert_(True)
81
82     def test_can_retag_questions(self):
83         self.assert_(True)
84
85     def test_can_close_question(self):
86         self.assert_(True)
87
88     def test_can_reopen_question(self):
89         self.assert_(True)
90
91     def test_can_delete_post(self):
92         self.assert_(True)
93
94     def test_can_upload_files(self):
95         self.assert_(True)
96