mirror of
https://github.com/ditkrg/todo-to-issue-action.git
synced 2026-01-22 13:56:44 +00:00
fix: remove subdirectory paths from test_new.diff
When test_proces_diff processes this file, it fails to create the subdirectories, leading to test failure. Since the subdirectories aren't really needed, removing them allows the test to complete successfully. Updated number of expected passing tests to account for the additional tests which can run to completion now.
This commit is contained in:
parent
d7086a5471
commit
46cc6ac8e9
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -17,4 +17,4 @@ jobs:
|
|||||||
- name: "Run tests"
|
- name: "Run tests"
|
||||||
run: python -m unittest discover
|
run: python -m unittest discover
|
||||||
env:
|
env:
|
||||||
SKIP_PROCESS_DIFF_TEST: true
|
SKIP_PROCESS_DIFF_TEST: false
|
||||||
@ -563,7 +563,7 @@ index 0000000..d340f6a
|
|||||||
+ * labels: urgent
|
+ * labels: urgent
|
||||||
+ */
|
+ */
|
||||||
+}
|
+}
|
||||||
diff --git a/tests/package.move b/tests/package.move
|
diff --git a/package.move b/package.move
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000..d340f6a
|
index 0000000..d340f6a
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
@ -589,11 +589,11 @@ index 0000000..d340f6a
|
|||||||
+ * labels: urgent
|
+ * labels: urgent
|
||||||
+ */
|
+ */
|
||||||
+}
|
+}
|
||||||
diff --git a/src/Dockerfile b/src/Dockerfile
|
diff --git a/Dockerfile b/Dockerfile
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000..d340f6a
|
index 0000000..d340f6a
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/src/Dockerfile
|
+++ b/Dockerfile
|
||||||
@@ -0,0 +1,4 @@
|
@@ -0,0 +1,4 @@
|
||||||
+WORKDIR /app
|
+WORKDIR /app
|
||||||
+ENV PYTHONPATH /app
|
+ENV PYTHONPATH /app
|
||||||
|
|||||||
@ -78,7 +78,7 @@ class IssueUrlInsertionTest(unittest.TestCase):
|
|||||||
"Skipping because 'SKIP_PROCESS_DIFF_TEST' is 'true'")
|
"Skipping because 'SKIP_PROCESS_DIFF_TEST' is 'true'")
|
||||||
def test_url_insertion(self):
|
def test_url_insertion(self):
|
||||||
self._setUp(['test_new.diff'])
|
self._setUp(['test_new.diff'])
|
||||||
self._standardTest(80)
|
self._standardTest(84)
|
||||||
|
|
||||||
def test_line_numbering_with_deletions(self):
|
def test_line_numbering_with_deletions(self):
|
||||||
self._setUp(['test_new_py.diff', 'test_edit_py.diff'])
|
self._setUp(['test_new_py.diff', 'test_edit_py.diff'])
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user