~twom/loggerhead/fix-per-file-revision-ui

« back to all changes in this revision

Viewing changes to loggerhead/tests/test_controllers.py

  • Committer: Tom Wardill
  • Date: 2020-07-10 09:57:51 UTC
  • Revision ID: tom.wardill@canonical.com-20200710095751-87z5uwzocmm4ybga
assertEqual, not assertIs

Show diffs side-by-side

added added

removed removed

Lines of Context:
162
162
        path = revision_ui.parse_args(env)
163
163
        values = revision_ui.get_values(path, revision_ui.kwargs, {})
164
164
        revision_ui.add_template_values(values)
165
 
        self.assertIs(len(values['diff_chunks']), 1)
 
165
        self.assertEqual(len(values['diff_chunks']), 1)
166
166
 
167
167
    def test_get_values_smoke(self):
168
168
        branch_app = self.make_branch_app_for_revision_ui(