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

aiidateam / aiida_core / 4881
70%
develop: 74%

Build:
Build:
LAST BUILD BRANCH: fix_3032_doc_working_importexport
DEFAULT BRANCH: develop
Ran 09 Jan 2019 03:52PM UTC
Jobs 4
Files 412
Run time 8min
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
4881

push

travis-ci

web-flow
Ensure that configuration options are considered for logging config (#2375)

The configuration knows various options to change the logging
configuration, however, these were not respected for two reasons:

 * Logging configuration was not lazily evaluated
 * Globally configured options were not agglomerated

The first problem was caused by the fact that the logging configuration
is evaluated upon loading the `aiida` module, at which point the profile
is not necessarily loaded yet, causing the `get_config_option` functions
to return the option defaults. The solution is to have the dictionary
lazily evaluated by using lambdas, which are resolved when
`configure_logging` is called. Finally, we make sure this function is
called each time the profile is set.

The second problem arose from the fact that if a profile is defined, the
`get_config_option` only returned the config value if explicitly set for
that profile and otherwise it would return the option default. This
means that if the option was defined globally for the configuration it
was ignored. This is now corrected where if the current profile does not
explicitly define a value for the option but it is globally defined, the
global value is returned.

33 of 33 new or added lines in 5 files covered. (100.0%)

25205 of 36535 relevant lines covered (68.99%)

2.46 hits per line

Jobs
ID Job ID Ran Files Coverage
5 4881.5 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 09 Jan 2019 03:52PM UTC 0
61.91
Travis Job 4881.5
6 4881.6 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 09 Jan 2019 03:59PM UTC 0
61.88
Travis Job 4881.6
7 4881.7 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 09 Jan 2019 03:59PM UTC 0
60.96
Travis Job 4881.7
8 4881.8 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 09 Jan 2019 04:00PM UTC 0
60.91
Travis Job 4881.8
Source Files on build 4881
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4881
  • 65c60d5e on github
  • Prev Build on provenance_redesign (#4875)
  • Next Build on provenance_redesign (#4883)
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