[Zope3-checkins] CVS: zopeproducts/bugtracker/tests -
test_dependencies.py:1.3
Stephan Richter
srichter at cosmos.phy.tufts.edu
Thu Aug 28 02:22:33 EDT 2003
Update of /cvs-repository/zopeproducts/bugtracker/tests
In directory cvs.zope.org:/tmp/cvs-serv11184/tests
Modified Files:
test_dependencies.py
Log Message:
Major usibility improvements landed:
- You can now filter also by the owner. This is good when you want to
see all the bugs you are responsible for for example.
- There is a "View Type" in the tracker overview, which specifes how the
found bugs are displayed. "normal" is what we had till now and
"compressed" displays the bugs in a table (one bug per line). This
feature was requested by Fred Drake, who liked this particular feature
in the SF bug tracker.
- You can now collapse the filter options, so that more bugs fit on your
screen.
- When seeing the bug overview, you now have an "Add Bug" link there, which
enables you to add a new bug that is a dependency of the currently viewed
one. This feature will increase input speed by multiples. Thanks goes to
Jim for suggesting this.
- In the bug dependency screen you can also collapse the edit interface.
- The dependency edit interface is not shown as part of the "Dependencies"
screen, if the user has not the necessary rights to modify this data.
- The management widget for dependencies has been switched to a different
model which is more scalable and user savy. Furthermore, you cannot just
set Dependencies (children) but also Dependents (Parents), which makes it
much easier to manage dependencies in general, since you often want to
specify the Dependent and not the Dependency. Thanks to Jim again for
suggesting this.
- Chnaged the dependency annotation key to be a valid file, so that it
plays nice with fssync. This means, if you have an existing bug tracker
you cannot just upgrade your software, since you would loose all of your
dependencies. The easy solution is to export the entire bug tracker to
XML first, before upgrading, so that you can easily import it after the
upgrade again.
** WARNING: THIS CHECKIN BREAKS BACKWARD COMPATIBILITY! SEE LAST NOTE ABOVE**
=== zopeproducts/bugtracker/tests/test_dependencies.py 1.2 => 1.3 ===
--- zopeproducts/bugtracker/tests/test_dependencies.py:1.2 Mon Jul 28 06:21:12 2003
+++ zopeproducts/bugtracker/tests/test_dependencies.py Thu Aug 28 01:22:32 2003
@@ -56,6 +56,10 @@
self.assertEqual((), deps.dependencies)
deps.dependencies = ('foo',)
self.assertEqual(('foo',), deps.dependencies)
+ deps.addDependencies(('foobar',))
+ self.assertEqual(('foo', 'foobar'), deps.dependencies)
+ deps.deleteDependencies(('foobar',))
+ self.assertEqual(('foo',), deps.dependencies)
# Test whether the annotations stay.
deps = self.makeTestObject()
self.assertEqual(('foo',), deps.dependencies)
More information about the Zope3-Checkins
mailing list