Browse Source

test(backup): Add release test at 23.12.0 (#62101)

Alex Zaslavsky 1 year ago
parent
commit
ae6e315dc7

File diff suppressed because it is too large
+ 208 - 203
tests/sentry/backup/snapshots/ReleaseTests/test_at_23_12_0.pysnap


File diff suppressed because it is too large
+ 203 - 203
tests/sentry/backup/snapshots/ReleaseTests/test_at_head.pysnap


+ 8 - 8
tests/sentry/backup/test_releases.py

@@ -98,9 +98,9 @@ class ReleaseTests(BackupTestCase):
             # Check the export so that we can ensure that all models were seen.
             verify_models_in_output(expected_models, exported)
 
-    def test_at_23_11_2(self):
+    def test_at_23_12_0(self):
         with tempfile.TemporaryDirectory() as tmp_dir:
-            _, snapshot_refval = read_snapshot_file(self.get_snapshot_path("23.11.2"))
+            _, snapshot_refval = read_snapshot_file(self.get_snapshot_path("23.12.0"))
             snapshot_data = yaml.safe_load(snapshot_refval)
             tmp_path = Path(tmp_dir).joinpath(f"{self._testMethodName}.json")
             with open(tmp_path, "w") as f:
@@ -109,9 +109,9 @@ class ReleaseTests(BackupTestCase):
             with open(tmp_path, "rb") as f:
                 import_in_global_scope(f, printer=NOOP_PRINTER)
 
-    def test_at_23_11_1(self):
+    def test_at_23_11_2(self):
         with tempfile.TemporaryDirectory() as tmp_dir:
-            _, snapshot_refval = read_snapshot_file(self.get_snapshot_path("23.11.1"))
+            _, snapshot_refval = read_snapshot_file(self.get_snapshot_path("23.11.2"))
             snapshot_data = yaml.safe_load(snapshot_refval)
             tmp_path = Path(tmp_dir).joinpath(f"{self._testMethodName}.json")
             with open(tmp_path, "w") as f:
@@ -120,9 +120,9 @@ class ReleaseTests(BackupTestCase):
             with open(tmp_path, "rb") as f:
                 import_in_global_scope(f, printer=NOOP_PRINTER)
 
-    def test_at_23_11_0(self):
+    def test_at_23_11_1(self):
         with tempfile.TemporaryDirectory() as tmp_dir:
-            _, snapshot_refval = read_snapshot_file(self.get_snapshot_path("23.11.0"))
+            _, snapshot_refval = read_snapshot_file(self.get_snapshot_path("23.11.1"))
             snapshot_data = yaml.safe_load(snapshot_refval)
             tmp_path = Path(tmp_dir).joinpath(f"{self._testMethodName}.json")
             with open(tmp_path, "w") as f:
@@ -131,9 +131,9 @@ class ReleaseTests(BackupTestCase):
             with open(tmp_path, "rb") as f:
                 import_in_global_scope(f, printer=NOOP_PRINTER)
 
-    def test_at_23_10_0(self):
+    def test_at_23_11_0(self):
         with tempfile.TemporaryDirectory() as tmp_dir:
-            _, snapshot_refval = read_snapshot_file(self.get_snapshot_path("23.10.0"))
+            _, snapshot_refval = read_snapshot_file(self.get_snapshot_path("23.11.0"))
             snapshot_data = yaml.safe_load(snapshot_refval)
             tmp_path = Path(tmp_dir).joinpath(f"{self._testMethodName}.json")
             with open(tmp_path, "w") as f:

Some files were not shown because too many files changed in this diff