cic-internal-integration/apps/cic-eth
2022-01-10 15:43:10 +03:00
..
cic_eth get some tests working 2022-01-10 15:43:10 +03:00
config Merge branch 'master' of https://gitlab.com/grassrootseconomics/cic-internal-integration into cic-eth-server 2022-01-05 12:30:40 +03:00
crypto_dev_signer_config Rehabilitate transfer, approve 2021-03-29 13:27:53 +00:00
doc refactor: Make texinfo docs buildable with makeinfo <6.0 2021-10-26 20:01:19 +00:00
docker refactor: Improve cic-cache 2022-01-04 16:01:01 +00:00
examples adding cic-eth as sub dir 2021-02-01 09:12:51 -08:00
scripts Fix configs after cic-base remove merges 2021-08-17 16:52:17 +00:00
tests get some tests working 2022-01-10 15:43:10 +03:00
.coveragerc Replace cic-base with chainlib cli utils 2021-08-17 06:46:51 +00:00
.dockerignore Faster local builds with base image and buildkit and run all unit tests 2021-07-10 15:46:14 +00:00
.envrc_dev_example adding cic-eth as sub dir 2021-02-01 09:12:51 -08:00
.envrc_example adding cic-eth as sub dir 2021-02-01 09:12:51 -08:00
.gitignore adding cic-eth as sub dir 2021-02-01 09:12:51 -08:00
.gitlab-ci.yml test eth and meta only mrs 2021-09-07 11:56:17 -07:00
admin_requirements.txt refactor: Improve cic-cache 2022-01-04 16:01:01 +00:00
CHANGELOG Consolidate cic-eth tooling 2021-02-08 21:39:50 +00:00
LICENSE.txt adding cic-eth as sub dir 2021-02-01 09:12:51 -08:00
MANIFEST.in Replace cic-base with chainlib cli utils 2021-08-17 06:46:51 +00:00
README.md docs(cic-eth): Add some basic testing docs 2022-01-10 15:42:54 +03:00
requirements.txt Merge branch 'master' of https://gitlab.com/grassrootseconomics/cic-internal-integration into cic-eth-server 2022-01-05 12:30:40 +03:00
services_requirements.txt refactor: Improve cic-cache 2022-01-04 16:01:01 +00:00
setup.cfg Merge branch 'master' of https://gitlab.com/grassrootseconomics/cic-internal-integration into cic-eth-server 2022-01-05 12:30:40 +03:00
setup.py Add demurrage token amount adjust task 2021-07-08 15:28:04 +00:00
test_requirements.txt refactor: Improve cic-cache 2022-01-04 16:01:01 +00:00
tools_requirements.txt refactor: Improve cic-cache 2022-01-04 16:01:01 +00:00

CIC-ETH

Testing CIC-ETH locally.

Setup a Virtual Env

python3 -m venv ./venv # Python 3.9
source ./venv/activate

Running All Unit Tests

bash ./tests/run_tests.sh # This will also install required dependencies

Running Specific Unit Tests

Ensure that:

  • You have called bash ./tests/run_tests.sh at least once or run the following to install required dependencies
  • You have activated the virtual environment
pip install --extra-index-url https://pip.grassrootseconomics.net --extra-index-url https://gitlab.com/api/v4/projects/27624814/packages/pypi/simple \
-r admin_requirements.txt \
-r services_requirements.txt \
-r test_requirements.txt

Then here is an example that only runs tests with the keyword(-k) test_server

pytest -s -v --log-cli-level DEBUG --log-level DEBUG -k test_server