• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

allura


Commit MetaInfo

Revision8ff4f703ee8e5162e8da78df9af20556735971fc (tree)
Zeit2012-07-04 21:14:56
AutorIgor Bondarenko <jetmind2@gmai...>
CommiterIgor Bondarenko

Log Message

[#4481] ticket:99 Remove monkey-patching from test.

Ändern Zusammenfassung

Diff

--- a/Allura/allura/tests/unit/test_mixins.py
+++ b/Allura/allura/tests/unit/test_mixins.py
@@ -9,11 +9,6 @@ class TestVotableArtifact(object):
99 self.user1.username = 'test-user'
1010 self.user2 = Mock()
1111 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()
1712
1813 def test_vote_up(self):
1914 vote = VotableArtifact()