Skip to main content

Theme for Quantecon lectures

Project description

quantecon-book-theme

A Jupyter Book Theme for QuantEcon Book Style Projects

Updating Fixtures for Tests

Updating test regression files on layout changes

It is advisable to update the test files for file regression checks when releavant layout files change.

For example, at present we have a sidebar file-regression check to validate html across tests. The file which it compares against is tests/test_build/test_build_book.html.

If updating the sidebar html, then one of the easier steps to update this test file is:

  1. Delete the file tests/test_build/test_build_book.html.
  2. Run pytest in your command line, which will then generate a new file. Check if the file is at par with your expectations, contains elements which you added/modified.

Now future pytests will test against this file, and the subsequent tests should pass.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

quantecon-book-theme-0.1.3.tar.gz (44.4 kB view details)

Uploaded Source

Built Distribution

quantecon_book_theme-0.1.3-py3-none-any.whl (52.4 kB view details)

Uploaded Python 3

File details

Details for the file quantecon-book-theme-0.1.3.tar.gz.

File metadata

  • Download URL: quantecon-book-theme-0.1.3.tar.gz
  • Upload date:
  • Size: 44.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for quantecon-book-theme-0.1.3.tar.gz
Algorithm Hash digest
SHA256 a41c50e377548156ee0dc5fde653c522edd3b619d5d6272a1ef4c94ba6555be1
MD5 b7ddb1db1e5367bd8c747b0c52cef0d0
BLAKE2b-256 cfade9d8dc0d796a062ce1c40a017bd6b09365cb55e14923b1d2edc833a9ed97

See more details on using hashes here.

Provenance

File details

Details for the file quantecon_book_theme-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: quantecon_book_theme-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 52.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for quantecon_book_theme-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 900f499dc3f4b9265b1863ffbcfa3b30c4656b70a385fb798b69cc0c0594e68f
MD5 3013720314c52e44ca81d30dc5caff55
BLAKE2b-256 46f1822a04c8d386557feedae07607f90b5bcfe478b62448594dd14b485c1d3e

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page