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.2.tar.gz (44.4 kB view details)

Uploaded Source

Built Distribution

quantecon_book_theme-0.1.2-py3-none-any.whl (52.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: quantecon-book-theme-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 09c08b4eb5fa26c23fcf753c0279182247c4ea94a46d59b1948559f9ad507166
MD5 cf7c0e6eeda7cd36b41ddc6162cf18af
BLAKE2b-256 32010eca15a5634a16a292781c60a391d79cc34dc4819a84f71817db11a83d9e

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: quantecon_book_theme-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 52.3 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9829d1c5646cb47ca2e96d2d7b1829759e668a92a7a1659016f636f7ef7b17f5
MD5 43a9307c8e0fe6b4feb3d1785d4801a0
BLAKE2b-256 c864f9818979d66bf4a3e1581c948b8801495c4f54a4981e02e1b5ef072ec769

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