Permalink
Browse files

Added test for is_url fix in 28e4098.

  • Loading branch information...
miracle2k committed May 16, 2012
1 parent 87b2c2f commit 80c48e11bea9a39ad6c657712de025cfc7507f42
Showing with 7 additions and 0 deletions.
  1. +7 −0 tests/test_bundle.py
View
@@ -1278,6 +1278,13 @@ def test_autorebuild_updaters(self):
bundle = self.mkbundle('http://foo', output='out')
TimestampUpdater().needs_rebuild(bundle, bundle.env)
+ def test_pyramid_asset_specs(self):
+ """Make sure that pyramid asset specs (in the form of
+ package:path) do not pass the url check."""
+ self.create_files({'foo:bar/qux': 'test'})
+ self.mkbundle('foo:bar/qux', output='out').build()
+ assert self.get('out') == 'test'
+
class TestNormalizeSourcePath(TempEnvironmentHelper):
"""The Environment class allows overriding a

0 comments on commit 80c48e1

Please sign in to comment.