~elachuni/ubuntu-webcatalog/bzr-revno

« back to all changes in this revision

Viewing changes to src/webcatalog/tests/test_commands.py

[r=lukasz-czyzykowski],[bug=1015505] Display correct license (from import) on details page.

Show diffs side-by-side

added added

removed removed

Lines of Context:
587
587
                                                   distroseries=self.natty)
588
588
        self.assertEqual(True, app_for_purchase.for_purchase)
589
589
        self.assertTrue(app_for_purchase.description.find('hello') > -1)
 
590
        self.assertEqual("Proprietary", app_for_purchase.license)
590
591
 
591
592
    def test_app_gets_distroseries(self):
592
593
        with patch_settings(UBUNTU_SERIES_FOR_VERSIONS=TEST_VERSIONS):