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

LSSTDESC / CLMM / 1450
100%

Build:
DEFAULT BRANCH: master
Ran 25 Jan 2020 12:40AM UTC
Jobs 2
Files 11
Run time 19s
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

pending completion
1450

push

travis-ci

web-flow
Refactoring the tests for modeling.py (#200)

* Commented out the old tests. I intend to move them to appropriate places soon

* Boilerplates for each of the tests that we need to write

* Tested and slight refactor to cclify_astropy_cosmo

* Added tests and slight refactor to functions that convert between redshift and scale_factor. These functions were previously untested.

* Also test passing in an ndarray or a list

* corrected and tested _evolve_omega_m, formally _ct_omega_m_fix

* ALso test after using cclify on the astropy cosmology object

* Moved cluster_toolkit patch out of modeling.py and changed it back to the intended goal. Better documented it and it is now being tested

* Merged Michels modeling addback file with tests for get_reduced_shear_from_convergence to test_modeling.py

* Added a unit test for get_3d_density. TODO validation test, revise docstring

* Testing exception and added notes for a validation test for predict_surface_density

* todo notes and testing the exception in excess_surface_density calculation

* Some todo comments for angular_d

* Also test the default values of each of the functions

* All of the tests for sigma and deltasigma are now gucci

* testing distance between lens and source given scale factors

* I need to actually commit the code where I replace the funciton call with the new function

* tests for predict_tangential_shear

* Commented out notimplemented code.

* Added another helper function to cover unit tests for the profile functions

* Skip the cluster_toolkit patch file in the documentation

* Renamed and slight adjustment to the docstring of the angular_diameter_distance_function

* Forgot to remove one of the todos for the last commit

* Updates to docstrings

* Style changes for the code in this PR

* Merge the validation tests into the test_modeling file

* Changed numcosmo loader from class to dictionary and made some style changes

* So... (continued)

62 of 62 new or added lines in 3 files covered. (100.0%)

322 of 398 relevant lines covered (80.9%)

1.62 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1450.1 25 Jan 2020 12:40AM UTC 0
80.9
Travis Job 1450.1
2 1450.2 25 Jan 2020 12:41AM UTC 0
80.9
Travis Job 1450.2
Source Files on build 1450
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1450
  • 0c528747 on github
  • Prev Build on master (#1399)
  • Next Build on master (#1455)
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

© 2025 Coveralls, Inc