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

Uploaded Source

Built Distribution

quantecon_book_theme-0.0.1-py3.8.egg (56.0 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: quantecon-book-theme-0.0.1.tar.gz
  • Upload date:
  • Size: 44.3 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.0.1.tar.gz
Algorithm Hash digest
SHA256 83a6259f58f09c4305c8181401fd1f00dad42d61df2dd345d115578b5bbaf666
MD5 9778df86a206d1904f15bfb69ac5d4d5
BLAKE2b-256 68b3e127e1b7897a39418158ab94930e20d25cd2ad821d97ca8c537d583f02f5

See more details on using hashes here.

Provenance

File details

Details for the file quantecon_book_theme-0.0.1-py3.8.egg.

File metadata

  • Download URL: quantecon_book_theme-0.0.1-py3.8.egg
  • Upload date:
  • Size: 56.0 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.0.1-py3.8.egg
Algorithm Hash digest
SHA256 c56723ad75afe3e3233a0a5e8721217b0905b668f24dc8d238730c67b4d6d4ce
MD5 39150b9de794f3e760089240c80fcea0
BLAKE2b-256 ec1465925cfa2991711ea6f360766e030a695da61a92ee728532d36d83858dfd

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