Skip to content

Commit

Permalink
Pytest.ini for test discovery and Dockerfile fixup
Browse files Browse the repository at this point in the history
Signed-off-by: Philipp Schlarb <[email protected]>
  • Loading branch information
pSchlarb committed Dec 21, 2021
1 parent 50d50be commit ffe93ea
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# [Choice] Ubuntu version (use hirsuite or bionic on local arm64/Apple Silicon): hirsute, focal, bionic
ARG VARIANT="focal"
FROM mcr.microsoft.com/vscode/devcontainers/base:0-${VARIANT}
FROM mcr.microsoft.com/vscode/devcontainers/base:${VARIANT}

RUN apt-get update -y && apt-get install -y \
# common stuff
Expand Down Expand Up @@ -54,7 +54,7 @@ RUN apt-get update -y && apt-get install -y \
make \
# Indy Node and Plenum
libssl1.0.0 \
ursa=0.3.2-2 \
ursa=0.3.2-1 \
# Indy SDK
libindy=1.15.0~1625-bionic \
# Need to move libursa.so to parent dir
Expand Down
12 changes: 12 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"python.linting.pylintEnabled": false,
"python.linting.flake8Enabled": true,
"python.linting.enabled": true,
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true,
"python.linting.mypyEnabled": false,
"python.testing.pytestArgs": [
"-c",
"pytest.ini"
]
}
4 changes: 4 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[pytest]
testpaths =
indy_common
indy_node

0 comments on commit ffe93ea

Please sign in to comment.