[Checkins] SVN: grokui.admin/trunk/src/grokui/admin/tests/infoviews.py Update tests.
Uli Fouquet
uli at gnufix.de
Thu Dec 25 21:44:04 EST 2008
Log message for revision 94331:
Update tests.
Changed:
U grokui.admin/trunk/src/grokui/admin/tests/infoviews.py
-=-
Modified: grokui.admin/trunk/src/grokui/admin/tests/infoviews.py
===================================================================
--- grokui.admin/trunk/src/grokui/admin/tests/infoviews.py 2008-12-26 02:43:47 UTC (rev 94330)
+++ grokui.admin/trunk/src/grokui/admin/tests/infoviews.py 2008-12-26 02:44:03 UTC (rev 94331)
@@ -52,6 +52,21 @@
>>> re.match('^grok \d+\.\d+(\.\d+)?.*$', browser.contents)
<_sre.SRE_Match object at 0x...>
+
+Getting the version of any other installed package
+--------------------------------------------------
+
+If we want to determine the versions of packages, then we are not
+restricted to the `grok` package. We can also ask for other packages
+by passing a `pkg` parameter.
+
+To determine the used version of `grokui.admin` we can call::
+
+ >>> browser.open('http://localhost/@@grokadmin/@@version?pkg=grokui.admin')
+ >>> print browser.contents[:16]
+ grokui.admin 0.4
+
+
Getting the current security notification
-----------------------------------------
More information about the Checkins
mailing list