Merge pull request #342 from status-im/test/Docker

Dockerfile for openbounty tests
This commit is contained in:
Tetiana Churikova 2018-03-02 17:43:23 +02:00 committed by GitHub
commit fdabe1e3a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

7
test/Dockerfile Normal file
View File

@ -0,0 +1,7 @@
FROM python:3.6
COPY end-to-end/requirements.txt /app/requirements.txt
WORKDIR /app
RUN pip3 install -r requirements.txt
COPY end-to-end /app
ENTRYPOINT ["python3"]
CMD ["-m", "pytest", "-m", "sanity"]

View File

@ -9,7 +9,7 @@ class TestData(object):
# define here path to your config.ini file
# example - config_example.ini
self.config.read('config.ini')
self.config.read("tests/config.ini")
# self.issue['title'] is set in GithubPage::create_new_bounty
# self.issue['id'] is set in GithubPage::create_new_bounty