-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Make test_freeze_bazaar_clone not depend on bazaar.launchpad.net #2515
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make test_freeze_bazaar_clone not depend on bazaar.launchpad.net #2515
Conversation
'bzr', 'commit', '-q', | ||
'--author', 'pip <[email protected]>', | ||
'-m', 'initial version', cwd=version_pkg_path, | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One could add an else
clause raising ValueError('Unknown vcs: %r' % vcs)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated. Thanks!
2842d2d
to
682c78f
Compare
OK, I think I handled all of the issues raised by @pfmoore and @xavfernandez. I guess it can be rereviewed and possibly merged if Travis CI passes. |
8c102e8
to
cbf4687
Compare
Added a note to
|
cbf4687
to
782e251
Compare
Travis CI passed |
Merge conflicts from the other PRs that were merged. Will fix... |
782e251
to
7f5566f
Compare
Merge conflicts fixed. |
I'll merge once Travis builds succeed (assuming Travis haven't blacklisted us for melting their servers ;-)) |
…chpad Make test_freeze_bazaar_clone not depend on bazaar.launchpad.net
Instead of checking out bzr+http://bazaar.launchpad.net/%7Edjango-wikiapp/django-wikiapp/, we create a bzr repo on the fly by calling
tests.lib._create_test_package
which has been enhanced to be able to create bzr repos:The test is no longer marked as
network
(because it doesn't require the network -- yay!), but it is markedbzr
. This allows for skipping the test in environments wherebzr
is not installed -- e.g.: