Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
PieWol committed Oct 10, 2024
1 parent 59dd014 commit 67e181e
Showing 1 changed file with 25 additions and 2 deletions.
27 changes: 25 additions & 2 deletions evaluations/subxt-py_2_PieWol.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
| -----: |---------------------------|---------------------------|--------------------------------------------------------------------------------|---------------------------|
| **0a.** | License | <ul><li>[x] </li></ul> | [Apache 2.0](https://github.com/philoniare/subxtpy/blob/main/LICENSE.md) |
| **0b.** | Documentation | <ul><li>[x] </li></ul> | [Readme](https://github.com/philoniare/subxtpy/blob/main/README.md) | ok, what about ``patchelf``?
| **0c.** | Testing and Testing Guide | <ul><li>[ ] </li></ul> | [Tests folder](https://github.com/philoniare/subxtpy/tree/main/tests) , [Testing Guide](https://github.com/philoniare/subxtpy/blob/main/README.md) |
| **0c.** | Testing and Testing Guide | <ul><li>[x] </li></ul> | [Tests folder](https://github.com/philoniare/subxtpy/tree/main/tests) , [Testing Guide](https://github.com/philoniare/subxtpy/blob/main/README.md) | all passing
| 0e. | Article | <ul><li>[x] </li></ul> | [Article](https://www.philoniare.com/blog/real-time-subxtpy) | nice
| 1. | Subscription API | <ul><li>[x] </li></ul> | [Source Code](https://github.com/philoniare/subxtpy/blob/442dfafa6164d3a01da7fdb58fc018930a936a00/src/lib.rs#L597) |
| 2. | Streaming Support | <ul><li>[x] </li></ul> | [Source Code](https://github.com/philoniare/subxtpy/blob/442dfafa6164d3a01da7fdb58fc018930a936a00/src/lib.rs#L597) |
Expand All @@ -26,7 +26,7 @@
The documentation under this link https://philoniare.github.io/subxtpy/ is not that convenient to read.
I'm surprised that the code blocks you are trying to create with "```" are not visually different from the remaining text. This even works better in markdown. I would love it if this could be improved. I'm not familiar with Sphinx but having looked at a few examples I think there are some formatting issues with the current site.

## Tests
## Build
builds, but on top of the details in the readme the build process needs ``pip install patchelf``

See here
Expand All @@ -47,4 +47,27 @@ once done, succesfully builds.
````


## Test
all passing.
```
========================================================================== test session starts ==========================================================================
platform linux -- Python 3.12.3, pytest-8.3.2, pluggy-1.5.0
rootdir: /home/ubuntu/subxtpy
configfile: pyproject.toml
plugins: asyncio-0.24.0
asyncio: mode=Mode.STRICT, default_loop_scope=None
collected 8 items
tests/test_constants_dynamic.py . [ 12%]
tests/test_events.py . [ 25%]
tests/test_runtime_api_call.py . [ 37%]
tests/test_storage_fetch_dynamic.py .. [ 62%]
tests/test_storage_iterating_dynamic.py . [ 75%]
tests/test_subscription.py . [ 87%]
tests/test_tx_basic.py . [100%]
=========================================================================== 8 passed in 0.27s ===========================================================================
(.venv) ubuntu@ip-172-31-18-251:~/subxtpy$
```


0 comments on commit 67e181e

Please sign in to comment.