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

terrapower / armi / 13186352603
90%
master: 87%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 06 Feb 2025 07:39PM UTC
Jobs 1
Files 273
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

06 Feb 2025 07:24PM UTC coverage: 90.208% (+0.001%) from 90.207%
13186352603

push

github

web-flow
Ignoring Fluid density warning for Component Fluids (#2075)

https://github.com/terrapower/armi/pull/1852 introduced a warning
when `Component.material.density(...)` was invoked. The rationale is
the `Component` is the source of truth for volume, density, mass, etc.
And components are the things that are thermally expanded.

However, fluids are not thermally expanded and so the density of a fluid
material is appropriate.

This change undoes the density wrapper applied by the base `Material`
when creating a `Fluid` subclass.

A test is added to show that any non-`Fluid` subclass still logs the
warning, but a `Fluid` subclass does not.

I attempted to use a "real" material like `Sodium` but lots of other
warnings can be logged depending on appropriate bounds of temperatures.
So a fake Fluid is used to have more control over what warnings are
logged.

3 of 3 new or added lines in 1 file covered. (100.0%)

27178 of 30128 relevant lines covered (90.21%)

0.9 hits per line

Jobs
ID Job ID Ran Files Coverage
1 13186352603.1 06 Feb 2025 07:39PM UTC 273
90.21
GitHub Action Run
Source Files on build 13186352603
  • Tree
  • List 273
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13186352603
  • 31dc3b0b on github
  • Prev Build on main (#13185882100)
  • Next Build on main (#13205167188)
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