~mvo/software-center/lp967036-2

« back to all changes in this revision

Viewing changes to test/gtk3/test_catview.py

  • Committer: Michael Vogt
  • Date: 2012-06-04 16:47:05 UTC
  • Revision ID: michael.vogt@ubuntu.com-20120604164705-69vwjqyn668966kp
Tags: 5.2.3
releasing version 5.2.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
115
115
class RecommendationsTestCase(CatViewBaseTestCase):
116
116
    """The test suite for the recommendations ."""
117
117
 
 
118
    @unittest.skip("Disabled because of race condition in test")
118
119
    @patch('softwarecenter.backend.recagent.RecommenderAgent.is_opted_in')
119
120
    def test_recommended_for_you_opt_in_display(
120
121
                                        self, mock_get_recommender_opted_in):
127
128
                         FramedHeaderBox.CONTENT)
128
129
        self.assertTrue(self.rec_panel.opt_in_vbox.get_property("visible"))
129
130
 
 
131
    @unittest.skip("Disabled because of race condition in test")
130
132
    # patch out the agent query method to avoid making the actual server call
131
133
    @patch('softwarecenter.backend.recagent.RecommenderAgent.is_opted_in')
132
134
    @patch('softwarecenter.backend.recagent.RecommenderAgent'