Compare commits

...

4 Commits

Author SHA1 Message Date
Christian Decker
8d020933d9
pytest: Add two more dependencies
pytest was an indirect dependency so far, making that one
explicit, and the timeout plugin should allow us to kill a stuck test
before travis kills it, and thus allow us to see where it got stuck.

Signed-off-by: Christian Decker <@cdecker>
2018-11-24 15:43:39 +01:00
Christian Decker
50b6e21ce2
changelog: Add missing Changelog entry from PR #2075
Signed-off-by: Christian Decker <@cdecker>
2018-11-24 15:43:38 +01:00
Christian Decker
2282a306f4
docker: Update pytest dependencies in the builder image
Adds timeout and progress to the output.

Signed-off-by: Christian Decker <decker.christian@gmail.com>
2018-11-24 15:43:36 +01:00
Christian Decker
6e3ced1531
docs: Replace example method params with a long description
This matches the `verbose` field in `struct json_command`.

Signed-off-by: Christian Decker <@cdecker>
2018-11-24 15:00:11 +01:00
5 changed files with 36 additions and 3 deletions

View File

@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- JSON API: `getinfo` now returns `num_peers` `num_pending_channels`,
`num_active_channels` and `num_inactive_channels` fields.
- JSON API: use `\n\n` to terminate responses, for simplified parsing (pylightning now relies on this)
- Plugins: Added plugins to `lightningd` and implemented the option passthrough.
### Changed

View File

@ -51,4 +51,19 @@ RUN cd /tmp/ && \
rm -rf bitcoin.tar.gz /tmp/bitcoin-$BITCOIN_VERSION
RUN pip3 install --upgrade pip && \
python3 -m pip install python-bitcoinlib==0.7.0 pytest==3.0.5 setuptools==36.6.0 pytest-test-groups==1.0.3 flake8==3.5.0 pytest-rerunfailures==3.1 ephemeral-port-reserve==1.1.0 pytest-xdist==1.22.2 flaky==3.4.0 CherryPy==17.3.0 Flask==1.0.2
python3 -m pip install \
CherryPy==17.3.0 \
Flask==1.0.2 \
cheroot==6.5.2 \
ephemeral-port-reserve==1.1.0 \
flaky==3.4.0 \
pytest-benchmark==3.1.1 \
pytest-forked==0.2 \
pytest-timeout==1.3.3 \
pytest-xdist==1.22.2 \
pytest==3.8.1 \
python-bitcoinlib==0.7.0 \
tqdm==4.26.0 \
pytest-test-groups==1.0.3 \
flake8==3.5.0 \
pytest-rerunfailures==3.1

View File

@ -51,4 +51,19 @@ RUN cd /tmp/ && \
rm -rf bitcoin.tar.gz /tmp/bitcoin-$BITCOIN_VERSION
RUN pip3 install --upgrade pip && \
python3 -m pip install python-bitcoinlib==0.7.0 pytest==3.0.5 setuptools==36.6.0 pytest-test-groups==1.0.3 flake8==3.5.0 pytest-rerunfailures==3.1 ephemeral-port-reserve==1.1.0 pytest-xdist==1.22.2 flaky==3.4.0 CherryPy==17.3.0 Flask==1.0.2
python3 -m pip install \
CherryPy==17.3.0 \
Flask==1.0.2 \
cheroot==6.5.2 \
ephemeral-port-reserve==1.1.0 \
flaky==3.4.0 \
pytest-benchmark==3.1.1 \
pytest-forked==0.2 \
pytest-timeout==1.3.3 \
pytest-xdist==1.22.2 \
pytest==3.8.1 \
python-bitcoinlib==0.7.0 \
tqdm==4.26.0 \
pytest-test-groups==1.0.3 \
flake8==3.5.0 \
pytest-rerunfailures==3.1

View File

@ -68,7 +68,7 @@ this example:
{
"name": "gettime",
"description": "Returns the current time in {timezone}",
"params": ["timezone"]
"long_description": "Returns the current time in the timezone that is given as the only parameter.\nThis description may be quite long and is allowed to span multiple lines."
}
]
}

View File

@ -1,3 +1,4 @@
pytest==3.8.1
CherryPy==17.3.0
Flask==1.0.2
cheroot==6.5.2
@ -8,3 +9,4 @@ pytest-forked==0.2
pytest-xdist==1.22.2
python-bitcoinlib==0.7.0
tqdm==4.26.0
pytest-timeout==1.3.3