~rharding/pyjuju/rapi-rollup

« back to all changes in this revision

Viewing changes to juju/charm/tests/test_repository.py

  • Committer: Kapil Thangavelu
  • Date: 2013-01-29 18:18:59 UTC
  • mfrom: (616.2.17 rapi-w-static)
  • Revision ID: kapil@canonical.com-20130129181859-gnutmc9072tgykx7
Merged rapi-w-static into rapi-rollup.

Show diffs side-by-side

added added

removed removed

Lines of Context:
354
354
        d.addCallback(verify)
355
355
        return d
356
356
 
 
357
    def test_find_plain_uncached_no_stat(self):
 
358
        self.change_environment(JUJU_TESTING="1")
 
359
        return self.assert_find_uncached(
 
360
            "https://somewhe.re", "cs:series/name",
 
361
            "https://somewhe.re/charm-info?charms=cs%3Aseries/name&stats=0",
 
362
            "https://somewhe.re/charm/series/name-1?stats=0")
 
363
 
357
364
    def test_find_plain_uncached(self):
358
365
        return self.assert_find_uncached(
359
366
            "https://somewhe.re", "cs:series/name",