| Index: gm/rebaseline_server/compare_rendered_pictures_test.py
|
| diff --git a/gm/rebaseline_server/compare_rendered_pictures_test.py b/gm/rebaseline_server/compare_rendered_pictures_test.py
|
| index 6a057d29429c76967cf0d1e8744b4588fb7ad2f4..c8f47e35f1cbfc401da72aa6fae9af451d31521c 100755
|
| --- a/gm/rebaseline_server/compare_rendered_pictures_test.py
|
| +++ b/gm/rebaseline_server/compare_rendered_pictures_test.py
|
| @@ -65,6 +65,14 @@ class CompareRenderedPicturesTest(base_unittest.TestCase):
|
| diff_base_url='/static/generated-images')
|
| results_obj.get_timestamp = mock_get_timestamp
|
|
|
| + # Overwrite elements within the results that change from one test run
|
| + # to the next.
|
| + # pylint: disable=W0212
|
| + results_obj._setA_descriptions[results.KEY__SET_DESCRIPTIONS__DIR] = [
|
| + 'before-patch-fake-dir']
|
| + results_obj._setB_descriptions[results.KEY__SET_DESCRIPTIONS__DIR] = [
|
| + 'after-patch-fake-dir']
|
| +
|
| gm_json.WriteToFile(
|
| results_obj.get_packaged_results_of_type(
|
| results.KEY__HEADER__RESULTS_ALL),
|
| @@ -83,6 +91,14 @@ class CompareRenderedPicturesTest(base_unittest.TestCase):
|
| diff_base_url='/static/generated-images')
|
| results_obj.get_timestamp = mock_get_timestamp
|
|
|
| + # Overwrite elements within the results that change from one test run
|
| + # to the next.
|
| + # pylint: disable=W0212
|
| + results_obj._setA_descriptions\
|
| + [results.KEY__SET_DESCRIPTIONS__REPO_REVISION] = 'fake-repo-revision'
|
| + results_obj._setB_descriptions\
|
| + [results.KEY__SET_DESCRIPTIONS__REPO_REVISION] = 'fake-repo-revision'
|
| +
|
| gm_json.WriteToFile(
|
| results_obj.get_packaged_results_of_type(
|
| results.KEY__HEADER__RESULTS_ALL),
|
|
|