Browse Source

Don't include test data in docker images
Test abs_path sentry compat

David Burke 2 years ago
parent
commit
290e8a6dfa
2 changed files with 6 additions and 1 deletions
  1. 5 0
      .dockerignore
  2. 1 1
      issues/tests/test_sentry_api_compat.py

+ 5 - 0
.dockerignore

@@ -1,3 +1,8 @@
 .env
 env
 *.sql
+*/tests
+*/*/tests
+*/test_data
+*/*/test_data
+**/.git

+ 1 - 1
issues/tests/test_sentry_api_compat.py

@@ -495,5 +495,5 @@ class SentryAPICompatTestCase(GlitchTipTestCase):
         self.assertCompareData(
             event_json["exception"]["values"][0],
             sentry_json["exception"]["values"][0],
-            ["type", "values", "exception"],
+            ["type", "values", "exception", "abs_path"],
         )