• 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

Revisionb1b7275819da55b40d85085209aa7e1bf318f7e6 (tree)
Zeit2012-05-11 06:40:41
AutorDave Brondsema <dbrondsema@geek...>
CommiterCory Johns

Log Message

[#4063] add nbhd help page for the projects macro

Ändern Zusammenfassung

Diff

--- a/Allura/allura/controllers/project.py
+++ b/Allura/allura/controllers/project.py
@@ -558,7 +558,6 @@ class NeighborhoodStatsController(object):
558558 neighborhood=self.neighborhood,
559559 )
560560
561-
562561 class NeighborhoodModerateController(object):
563562
564563 def __init__(self, neighborhood):
--- a/Allura/allura/ext/admin/admin_main.py
+++ b/Allura/allura/ext/admin/admin_main.py
@@ -1,9 +1,7 @@
11 import logging
22 from collections import defaultdict
3-from datetime import datetime, timedelta
3+from datetime import datetime
44
5-import Image
6-import pymongo
75 import pkg_resources
86 from pylons import c, g, request
97 from paste.deploy.converters import asbool
--- a/Allura/allura/tests/functional/test_neighborhood.py
+++ b/Allura/allura/tests/functional/test_neighborhood.py
@@ -614,3 +614,7 @@ class TestNeighborhood(TestController):
614614 def test_profile_topnav_menu(self):
615615 r = self.app.get('/u/test-user/', extra_environ=dict(username='test-user')).follow()
616616 assert '<a href="/u/test-user/profile/" class="ui-icon-tool-home">' in r
617+
618+ def test_help(self):
619+ r = self.app.get('/p/_admin/help/', extra_environ=dict(username='root'))
620+ assert 'macro' in r