~elachuni/software-center/pep8-test-part4

« back to all changes in this revision

Viewing changes to test/test_recagent.py

  • Committer: Michael Vogt
  • Date: 2012-03-08 20:29:32 UTC
  • Revision ID: michael.vogt@ubuntu.com-20120308202932-srzuyf2yec8kkjpo
test/test_recagent.py: really use non-staging server for now until rec.staging is working again

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
        self.loop = GObject.MainLoop(GObject.main_context_default())
24
24
        self.error = False
25
25
        self.orig_host = os.environ.get("SOFTWARE_CENTER_RECOMMENDER_HOST")
26
 
        #if not "SOFTWARE_CENTER_RECOMMENDER_HOST" in os.environ:
27
 
        #    os.environ["SOFTWARE_CENTER_RECOMMENDER_HOST"] = "https://rec.staging.ubuntu.com"
 
26
        if not "SOFTWARE_CENTER_RECOMMENDER_HOST" in os.environ:
 
27
            #server = "https://rec.staging.ubuntu.com"
 
28
            server = "https://rec.ubuntu.com"
 
29
            os.environ["SOFTWARE_CENTER_RECOMMENDER_HOST"] = server
28
30
 
29
31
    def tearDown(self):
30
32
        if self.orig_host is None: