Skip to content

Commit f1eccdb

Browse files
Merge pull request #55 from splunk/feature/pytest-expect-fix
Fixed pytest-expect issue of Example-TA
2 parents f3bdb4a + 41b4cb8 commit f1eccdb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Dockerfile-tests

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#You should have received a copy of the CC0 legalcode along with this
88
#work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
99
FROM circleci/python:3.7-browsers
10-
RUN mkdir -p /home/circleci/work/tests
10+
RUN mkdir -p /home/circleci/work/tests/ui
1111
RUN mkdir -p /home/circleci/work/test-results/functional
1212

1313
COPY dist /home/circleci/work/dist
@@ -18,7 +18,7 @@ RUN pip install pytest-expect
1818
COPY tests/entrypoint.sh /
1919
COPY tests/deps/splunk-add-on-for-ucc-example/.pytest.expect /home/circleci/work/.pytest.expect
2020
RUN ls /home/circleci/work/
21-
COPY tests/deps/splunk-add-on-for-ucc-example/tests/ui /home/circleci/work/tests
21+
COPY tests/deps/splunk-add-on-for-ucc-example/tests/ui /home/circleci/work/tests/ui
2222

2323
RUN cd /home/circleci/work/tests && ls
2424
RUN cd ../..

tests/entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
##
77

88
cd /home/circleci/work
9-
echo Test Args pytest $@ ${TEST_SUITE} --browser=${TEST_BROWSER}
10-
pytest $@ ${TEST_SUITE} --browser=${TEST_BROWSER}
9+
echo Test Args pytest tests/ui --browser=${TEST_BROWSER}
10+
pytest $@ tests/ui --browser=${TEST_BROWSER}

0 commit comments

Comments
 (0)