Commits

Sam Skillman committed 4ea6032

Quick fix. Now both local and cloud work.

Comments (0)

Files changed (1)

yt/utilities/answer_testing/framework.py

             options.compare_name = _latest
 
         # We only either store or test.
-        if options.store_local_results:
+        if options.store_local_results == 'True':
             AnswerTestingTest.reference_storage = \
                 self.storage = \
                     AnswerTestLocalStorage("%s/%s" % \
 
     def __call__(self):
         nv = self.run()
-        if self.reference_storage is not None and \
-           self.reference_storage.read:
+        if self.reference_storage is not None and self.reference_storage.read:
             dd = self.reference_storage.get(self.storage_name)
             if dd is None: raise YTNoOldAnswer(self.storage_name)
             ov = dd[self.description]