-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed tests and a small bug with create (#85)
* bump patch version * set asyncio_mode to auto and reduce boilerplate code
- Loading branch information
Showing
6 changed files
with
9 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
FROM fan0/python:3.0.2 | ||
FROM fan0/python:4.0.1 | ||
|
||
WORKDIR /code | ||
|
||
RUN pip3 install fan_tools pytest-asyncio pytest-cov codecov | ||
RUN apt install -y tcpdump | ||
|
||
ADD . /code | ||
WORKDIR /code |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
FROM fan0/python:2.1.0 | ||
MAINTAINER [email protected] | ||
FROM fan0/python:4.0.1 | ||
LABEL org.opencontainers.image.authors="[email protected]" | ||
|
||
WORKDIR / | ||
RUN apt update && apt install -y \ | ||
curl \ | ||
libyaml-dev \ | ||
default-jdk-headless | ||
|
||
ENV ZOOKEEPER_VERSION 3.5.7 | ||
ENV ZOOKEEPER_VERSION 3.9.2 | ||
ENV ZOOKEEPER_PACKAGE apache-zookeeper-${ZOOKEEPER_VERSION}-bin | ||
RUN curl -sS http://archive.apache.org/dist/zookeeper/zookeeper-${ZOOKEEPER_VERSION}/${ZOOKEEPER_PACKAGE}.tar.gz | tar -xzf - -C /opt \ | ||
RUN curl -sS https://archive.apache.org/dist/zookeeper/zookeeper-${ZOOKEEPER_VERSION}/${ZOOKEEPER_PACKAGE}.tar.gz | tar -xzf - -C /opt \ | ||
&& mv /opt/${ZOOKEEPER_PACKAGE} /opt/zookeeper \ | ||
&& chown -R root:root /opt/zookeeper | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
[pytest] | ||
addopts = --cov=aiozk --cov-config=.coveragerc | ||
asyncio_mode = auto |