~jcsackett/charmworld/bac-tag-constraints

« back to all changes in this revision

Viewing changes to charmworld/tests/test_models.py

  • Committer: Matthew Scott
  • Date: 2013-08-15 19:25:39 UTC
  • mto: This revision was merged to the branch mainline in revision 350.
  • Revision ID: matthew.scott@canonical.com-20130815192539-6wz7duo1321wypm1
Lint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1138
1138
        icon_id = self.base_fileid + quote_key('icon.svg')
1139
1139
        cf = CharmFileSet.get_by_id(self.fs, icon_id)
1140
1140
        self.assertEqual(
1141
 
                "<?xml version='1.0' encoding='UTF-8'?>\n" \
1142
 
                    + '<svg height="10" viewBox="0 0 10 10" width="10" />',
1143
 
                cf.read())
 
1141
            "<?xml version='1.0' encoding='UTF-8'?>\n"
 
1142
            + '<svg height="10" viewBox="0 0 10 10" width="10" />',
 
1143
            cf.read())
1144
1144
 
1145
1145
    def test_provides_content_type(self):
1146
1146
        path = self.use_context(temp_dir())