~makyo/juju-deployer/machines-and-placement

« back to all changes in this revision

Viewing changes to deployer/tests/test_utils.py

  • Committer: Kapil Thangavelu
  • Date: 2014-02-22 23:11:02 UTC
  • Revision ID: kapil@canonical.com-20140222231102-27q38vxf6hlmp4fz
fix use of env error, log env name on deploy, incr rev

Show diffs side-by-side

added added

removed removed

Lines of Context:
135
135
        url = "cs:precise/mysql-"
136
136
        self.assertFalse(_is_qualified_charm_url(url))
137
137
 
138
 
 
139
138
    def test_get_qualified_url(self):
140
139
        fake_json = """
141
140
          {"cs:precise/mysql":
142
141
            {"revision":333}
143
142
          }
144
143
        """
 
144
 
145
145
        def mocked_urlopen(url):
146
146
            return StringIO(fake_json)
147
147