allura
Revision | 9524728354a764d672c7b7ccf524b66a11c86d57 (tree) |
---|---|
Time | 2012-07-01 21:16:54 |
Author | Yuriy <yuriyarhipovua@yand...> |
Commiter | Yuriy |
[#4449] ticket:94 Subscribe another user to an artifact
added test
@@ -0,0 +1,8 @@ | ||
1 | +from allura.tests import TestController | |
2 | +from allura import model as M | |
3 | + | |
4 | +class TestSubscriber(TestController): | |
5 | + | |
6 | + def test_access(self): | |
7 | + print M.Notification.query.find({"artifact_id":"/u/test-user/wiki/Home/"}).count() | |
8 | + assert 'Login' in "Login" | |
\ No newline at end of file |