allura
Revision | 8ff4f703ee8e5162e8da78df9af20556735971fc (tree) |
---|---|
Time | 2012-07-04 21:14:56 |
Author | Igor Bondarenko <jetmind2@gmai...> |
Commiter | Igor Bondarenko |
[#4481] ticket:99 Remove monkey-patching from test.
@@ -9,11 +9,6 @@ class TestVotableArtifact(object): | ||
9 | 9 | self.user1.username = 'test-user' |
10 | 10 | self.user2 = Mock() |
11 | 11 | self.user2.username = 'user2' |
12 | - # monkey-patch vote properties for test | |
13 | - VotableArtifact.votes_up = 0 | |
14 | - VotableArtifact.votes_down = 0 | |
15 | - VotableArtifact.votes_up_users = list() | |
16 | - VotableArtifact.votes_down_users = list() | |
17 | 12 | |
18 | 13 | def test_vote_up(self): |
19 | 14 | vote = VotableArtifact() |