• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tethysplatform / tethys / 12614893093
100%

Build:
DEFAULT BRANCH: main
Ran 05 Jan 2025 12:24AM UTC
Jobs 1
Files 174
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

30 Dec 2024 09:44PM UTC coverage: 99.973% (-0.03%) from 100.0%
12614893093

push

github

web-flow
Avoid "File name too long" error (#1128)

* Avoid "File name too long" error

Any file error will be ignored and jump straight to treating var as CSS text.
fixes tethysplatform/tethys#1127

* Add docstring and update import order

* Add unit test

* Remove trailing whitespace

* Log a warning if var looks like a filename but can't load

The login page calls load_custom_css() twice with an empty var, so this now returns early for that.

* Update code style test

load_custom_css() now returns an empty string for a file that does not exist, so test_get_css_is_code() has been updated to test CSS code.

* Apply black formatting

* Remove unnecessary pass statement

Co-authored-by: Nathan Swain <swainn@users.noreply.github.com>

* Add comment for is_file

Co-authored-by: Nathan Swain <swainn@users.noreply.github.com>

* Add comment about long CSS string causing OSError

Co-authored-by: Nathan Swain <swainn@users.noreply.github.com>

* Add comment about determining if it is a CSS string

Co-authored-by: Nathan Swain <swainn@users.noreply.github.com>

* Apply black/flake8 formatting

---------

Co-authored-by: Nathan Swain <swainn@users.noreply.github.com>

12 of 15 new or added lines in 1 file covered. (80.0%)

11192 of 11195 relevant lines covered (99.97%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12614893093.1 05 Jan 2025 12:24AM UTC 0
99.97
GitHub Action Run
Source Files on build 12614893093
Detailed source file information is not available for this build.
  • Back to Repo
  • e95effb2 on github
  • Prev Build on main (#12530875651)
  • Next Build on main (#12728794235)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc