Spaces:
Running
Running
GitHub Actions commited on
Commit ·
c343217
1
Parent(s): 4ddb694
Auto-format code with isort and black
Browse files- tests/test_chunker.py +1 -3
tests/test_chunker.py
CHANGED
|
@@ -40,9 +40,7 @@ def test_code_chunker_happy_path():
|
|
| 40 |
assert len(chunks) >= 1
|
| 41 |
|
| 42 |
|
| 43 |
-
@mark.parametrize(
|
| 44 |
-
"filename", [param("assets/sample-script.ts"), param("assets/sample-script.tsx")]
|
| 45 |
-
)
|
| 46 |
def test_code_chunker_typescript_happy_path(filename):
|
| 47 |
"""Tests the happy path for the CodeFileChunker on .ts and .tsx files."""
|
| 48 |
file_path = os.path.join(os.path.dirname(__file__), filename)
|
|
|
|
| 40 |
assert len(chunks) >= 1
|
| 41 |
|
| 42 |
|
| 43 |
+
@mark.parametrize("filename", [param("assets/sample-script.ts"), param("assets/sample-script.tsx")])
|
|
|
|
|
|
|
| 44 |
def test_code_chunker_typescript_happy_path(filename):
|
| 45 |
"""Tests the happy path for the CodeFileChunker on .ts and .tsx files."""
|
| 46 |
file_path = os.path.join(os.path.dirname(__file__), filename)
|