Skip to content

Commit ece9fd5

Browse files
Addressed review comments and fixed a failing testcase
1 parent fdb12f0 commit ece9fd5

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/pre-commit.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,16 @@ jobs:
2626
working-directory: ${{ matrix.package }}
2727
run: |
2828
python -m pip install --upgrade pip
29-
pip install -r requirements.txt --index-url https://pypi.org/simple --extra-index-url https://test.pypi.org/simple
29+
pip install -r requirements.txt --find-links https://test.pypi.org/simple/dvp-api/
3030
31-
- name: Install ${{ matrix.package }} project in editable mode
31+
- name: Install ${{ matrix.package }} project
3232
working-directory: ${{ matrix.package }}
3333
run: |
34-
pip install -e . --index-url https://pypi.org/simple --extra-index-url https://test.pypi.org/simple
34+
pip install . --find-links https://test.pypi.org/simple/dvp-api/
3535
3636
- name: Test ${{ matrix.package }} project with pytest
3737
working-directory: ${{ matrix.package }}
3838
run: |
39-
pip install pytest
4039
python -m pytest src/test/python
4140
4241
lint:

tools/src/test/python/dlpx/virtualization/_internal/test_package_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def test_get_engine_api_version_json():
4343
@staticmethod
4444
def test_get_internal_package_root():
4545
assert package_util.get_internal_package_root().endswith(
46-
'main/python/dlpx/virtualization/_internal')
46+
'dlpx/virtualization/_internal')
4747

4848
@staticmethod
4949
@pytest.mark.parametrize('version_string', [

0 commit comments

Comments
 (0)