Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Test output for `valuta`
$ ./runtests.py 
================================================================ test session starts =================================================================
platform linux -- Python 3.6.13, pytest-6.2.4, py-1.10.0, pluggy-0.13.1
django: settings: project.settings.testing (from env)
rootdir: /home/delusionalinsanity/bbrepos/valuta, configfile: pytest.ini
plugins: ordering-0.6, django-4.3.0, Faker-8.1.4, pythonpath-0.7.3, cov-2.12.0
collected 35 items                                                                                                                                   

src/valuta/contrib/django_integration/tests/test_models.py .................
src/valuta/tests/test_base.py ........
src/valuta/tests/test_cli.py ..
src/valuta/tests/test_registry.py ..
src/valuta/tests/test_scaffolding.py ..
src/valuta/tests/test_utils.py ....

---------- coverage: platform linux, python 3.6.13-final-0 -----------
Name                                                         Stmts   Miss  Cover
--------------------------------------------------------------------------------
src/valuta/__init__.py                                           6      0   100%
src/valuta/base.py                                              24      0   100%
src/valuta/cli.py                                               30      0   100%
src/valuta/contrib/__init__.py                                   0      0   100%
src/valuta/contrib/django_integration/__init__.py                0      0   100%
src/valuta/contrib/django_integration/models.py                 48      0   100%
src/valuta/contrib/django_integration/tests/__init__.py          0      0   100%
src/valuta/contrib/django_integration/tests/test_models.py      98      0   100%
src/valuta/currencies/__init__.py                               17      0   100%
src/valuta/currencies/aed.py                                     8      0   100%
src/valuta/currencies/afn.py                                     8      0   100%
src/valuta/currencies/all.py                                     8      0   100%
src/valuta/currencies/amd.py                                     8      0   100%
src/valuta/currencies/ang.py                                     8      0   100%
src/valuta/currencies/aoa.py                                     8      0   100%
src/valuta/currencies/ars.py                                     8      0   100%
src/valuta/currencies/aud.py                                     8      0   100%
src/valuta/currencies/awg.py                                     8      0   100%
src/valuta/currencies/azn.py                                     8      0   100%
src/valuta/currencies/bam.py                                     8      0   100%
src/valuta/currencies/bbd.py                                     8      0   100%
src/valuta/currencies/bdt.py                                     8      0   100%
src/valuta/currencies/bgn.py                                     8      0   100%
src/valuta/currencies/bhd.py                                     8      0   100%
src/valuta/currencies/bif.py                                     8      0   100%
src/valuta/currencies/bmd.py                                     8      0   100%
src/valuta/currencies/bnd.py                                     8      0   100%
src/valuta/currencies/bob.py                                     8      0   100%
src/valuta/currencies/brl.py                                     8      0   100%
src/valuta/currencies/bsd.py                                     8      0   100%
src/valuta/currencies/btc.py                                     9      0   100%
src/valuta/currencies/btn.py                                     8      0   100%
src/valuta/currencies/bwp.py                                     8      0   100%
src/valuta/currencies/byn.py                                     8      0   100%
src/valuta/currencies/bzd.py                                     8      0   100%
src/valuta/currencies/cad.py                                     8      0   100%
src/valuta/currencies/cdf.py                                     8      0   100%
src/valuta/currencies/chf.py                                     8      0   100%
src/valuta/currencies/ckd.py                                     8      0   100%
src/valuta/currencies/clp.py                                     8      0   100%
src/valuta/currencies/cny.py                                     8      0   100%
src/valuta/currencies/cop.py                                     8      0   100%
src/valuta/currencies/crc.py                                     8      0   100%
src/valuta/currencies/cup.py                                     8      0   100%
src/valuta/currencies/cve.py                                     8      0   100%
src/valuta/currencies/czk.py                                     8      0   100%
src/valuta/currencies/djf.py                                     8      0   100%
src/valuta/currencies/dkk.py                                     8      0   100%
src/valuta/currencies/dop.py                                     8      0   100%
src/valuta/currencies/dzd.py                                     8      0   100%
src/valuta/currencies/egp.py                                     8      0   100%
src/valuta/currencies/ern.py                                     8      0   100%
src/valuta/currencies/etb.py                                     8      0   100%
src/valuta/currencies/eur.py                                     8      0   100%
src/valuta/currencies/fjd.py                                     8      0   100%
src/valuta/currencies/fkp.py                                     8      0   100%
src/valuta/currencies/fok.py                                     8      0   100%
src/valuta/currencies/gbp.py                                     8      0   100%
src/valuta/currencies/gel.py                                     8      0   100%
src/valuta/currencies/ggp.py                                     8      0   100%
src/valuta/currencies/ghs.py                                     8      0   100%
src/valuta/currencies/gip.py                                     8      0   100%
src/valuta/currencies/gmd.py                                     8      0   100%
src/valuta/currencies/gnf.py                                     8      0   100%
src/valuta/currencies/gtq.py                                     8      0   100%
src/valuta/currencies/gyd.py                                     8      0   100%
src/valuta/currencies/hkd.py                                     8      0   100%
src/valuta/currencies/hnl.py                                     8      0   100%
src/valuta/currencies/hrk.py                                     8      0   100%
src/valuta/currencies/htg.py                                     8      0   100%
src/valuta/currencies/huf.py                                     8      0   100%
src/valuta/currencies/idr.py                                     8      0   100%
src/valuta/currencies/ils.py                                     8      0   100%
src/valuta/currencies/imp.py                                     8      0   100%
src/valuta/currencies/inr.py                                     8      0   100%
src/valuta/currencies/iqd.py                                     8      0   100%
src/valuta/currencies/irr.py                                     8      0   100%
src/valuta/currencies/isk.py                                     8      0   100%
src/valuta/currencies/jep.py                                     8      0   100%
src/valuta/currencies/jmd.py                                     8      0   100%
src/valuta/currencies/jod.py                                     8      0   100%
src/valuta/currencies/jpy.py                                     8      0   100%
src/valuta/currencies/kes.py                                     8      0   100%
src/valuta/currencies/kgs.py                                     8      0   100%
src/valuta/currencies/khr.py                                     8      0   100%
src/valuta/currencies/kid.py                                     8      0   100%
src/valuta/currencies/kmf.py                                     8      0   100%
src/valuta/currencies/kpw.py                                     8      0   100%
src/valuta/currencies/krw.py                                     8      0   100%
src/valuta/currencies/kwd.py                                     8      0   100%
src/valuta/currencies/kyd.py                                     8      0   100%
src/valuta/currencies/kzt.py                                     8      0   100%
src/valuta/currencies/lak.py                                     8      0   100%
src/valuta/currencies/lbp.py                                     8      0   100%
src/valuta/currencies/lkr.py                                     8      0   100%
src/valuta/currencies/lrd.py                                     8      0   100%
src/valuta/currencies/lsl.py                                     8      0   100%
src/valuta/currencies/lyd.py                                     8      0   100%
src/valuta/currencies/mad.py                                     8      0   100%
src/valuta/currencies/mdl.py                                     8      0   100%
src/valuta/currencies/mga.py                                     8      0   100%
src/valuta/currencies/mkd.py                                     8      0   100%
src/valuta/currencies/mmk.py                                     8      0   100%
src/valuta/currencies/mnt.py                                     8      0   100%
src/valuta/currencies/mop.py                                     8      0   100%
src/valuta/currencies/mru.py                                     8      0   100%
src/valuta/currencies/mur.py                                     8      0   100%
src/valuta/currencies/mvr.py                                     8      0   100%
src/valuta/currencies/mwk.py                                     8      0   100%
src/valuta/currencies/mxn.py                                     8      0   100%
src/valuta/currencies/myr.py                                     8      0   100%
src/valuta/currencies/mzn.py                                     8      0   100%
src/valuta/currencies/nad.py                                     8      0   100%
src/valuta/currencies/ngn.py                                     8      0   100%
src/valuta/currencies/nio.py                                     8      0   100%
src/valuta/currencies/nok.py                                     8      0   100%
src/valuta/currencies/npr.py                                     8      0   100%
src/valuta/currencies/nzd.py                                     8      0   100%
src/valuta/currencies/omr.py                                     8      0   100%
src/valuta/currencies/pab.py                                     8      0   100%
src/valuta/currencies/pen.py                                     8      0   100%
src/valuta/currencies/pgk.py                                     8      0   100%
src/valuta/currencies/php.py                                     8      0   100%
src/valuta/currencies/pkr.py                                     8      0   100%
src/valuta/currencies/pln.py                                     8      0   100%
src/valuta/currencies/pnd.py                                     8      0   100%
src/valuta/currencies/prb.py                                     8      0   100%
src/valuta/currencies/pyg.py                                     8      0   100%
src/valuta/currencies/qar.py                                     8      0   100%
src/valuta/currencies/ron.py                                     8      0   100%
src/valuta/currencies/rsd.py                                     8      0   100%
src/valuta/currencies/rub.py                                     8      0   100%
src/valuta/currencies/rwf.py                                     8      0   100%
src/valuta/currencies/sar.py                                     8      0   100%
src/valuta/currencies/sbd.py                                     8      0   100%
src/valuta/currencies/scr.py                                     8      0   100%
src/valuta/currencies/sdg.py                                     8      0   100%
src/valuta/currencies/sek.py                                     8      0   100%
src/valuta/currencies/sgd.py                                     8      0   100%
src/valuta/currencies/shp.py                                     8      0   100%
src/valuta/currencies/sll.py                                     8      0   100%
src/valuta/currencies/sls.py                                     8      0   100%
src/valuta/currencies/sos.py                                     8      0   100%
src/valuta/currencies/srd.py                                     8      0   100%
src/valuta/currencies/ssp.py                                     8      0   100%
src/valuta/currencies/stn.py                                     8      0   100%
src/valuta/currencies/syp.py                                     8      0   100%
src/valuta/currencies/szl.py                                     8      0   100%
src/valuta/currencies/thb.py                                     8      0   100%
src/valuta/currencies/tjs.py                                     8      0   100%
src/valuta/currencies/tmt.py                                     8      0   100%
src/valuta/currencies/tnd.py                                     8      0   100%
src/valuta/currencies/top.py                                     8      0   100%
src/valuta/currencies/try.py                                     8      0   100%
src/valuta/currencies/ttd.py                                     8      0   100%
src/valuta/currencies/tvd.py                                     8      0   100%
src/valuta/currencies/twd.py                                     8      0   100%
src/valuta/currencies/tzs.py                                     8      0   100%
src/valuta/currencies/uah.py                                     8      0   100%
src/valuta/currencies/ugx.py                                     8      0   100%
src/valuta/currencies/usd.py                                     8      0   100%
src/valuta/currencies/uyu.py                                     8      0   100%
src/valuta/currencies/uzs.py                                     8      0   100%
src/valuta/currencies/ves.py                                     8      0   100%
src/valuta/currencies/vnd.py                                     8      0   100%
src/valuta/currencies/vuv.py                                     8      0   100%
src/valuta/currencies/wst.py                                     8      0   100%
src/valuta/currencies/xaf.py                                     8      0   100%
src/valuta/currencies/xcd.py                                     8      0   100%
src/valuta/currencies/xof.py                                     8      0   100%
src/valuta/currencies/xpf.py                                     8      0   100%
src/valuta/currencies/yer.py                                     8      0   100%
src/valuta/currencies/zar.py                                     8      0   100%
src/valuta/currencies/zmw.py                                     8      0   100%
src/valuta/currencies/zwb.py                                     8      0   100%
src/valuta/exceptions.py                                         5      0   100%
src/valuta/helpers.py                                           11      0   100%
src/valuta/registry.py                                          44      0   100%
src/valuta/scaffolding.py                                       34      0   100%
src/valuta/tests/__init__.py                                     0      0   100%
src/valuta/tests/data.py                                        10      0   100%
src/valuta/tests/test_base.py                                   41      0   100%
src/valuta/tests/test_cli.py                                    20      0   100%
src/valuta/tests/test_registry.py                               23      0   100%
src/valuta/tests/test_scaffolding.py                            25      0   100%
src/valuta/tests/test_utils.py                                  23      0   100%
src/valuta/utils.py                                             10      0   100%
--------------------------------------------------------------------------------
TOTAL                                                         1798      0   100%
Coverage annotated source written next to source
Coverage HTML written to dir htmlcov


================================================================= 35 passed in 2.98s =================================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment