Merge pull request #267 from rgalonso/fix/process-diff-test

fix: remove subdirectory paths from test_new.diff
This commit is contained in:
Alastair Mooney 2025-04-11 09:02:30 +01:00 committed by GitHub
commit 24169f78db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View File

@ -17,4 +17,4 @@ jobs:
- name: "Run tests"
run: python -m unittest discover
env:
SKIP_PROCESS_DIFF_TEST: true
SKIP_PROCESS_DIFF_TEST: false

View File

@ -563,7 +563,7 @@ index 0000000..d340f6a
+ * labels: urgent
+ */
+}
diff --git a/tests/package.move b/tests/package.move
diff --git a/package.move b/package.move
new file mode 100644
index 0000000..d340f6a
--- /dev/null
@ -589,11 +589,11 @@ index 0000000..d340f6a
+ * labels: urgent
+ */
+}
diff --git a/src/Dockerfile b/src/Dockerfile
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..d340f6a
--- /dev/null
+++ b/src/Dockerfile
+++ b/Dockerfile
@@ -0,0 +1,4 @@
+WORKDIR /app
+ENV PYTHONPATH /app

View File

@ -78,7 +78,7 @@ class IssueUrlInsertionTest(unittest.TestCase):
"Skipping because 'SKIP_PROCESS_DIFF_TEST' is 'true'")
def test_url_insertion(self):
self._setUp(['test_new.diff'])
self._standardTest(80)
self._standardTest(84)
def test_line_numbering_with_deletions(self):
self._setUp(['test_new_py.diff', 'test_edit_py.diff'])