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

aiidateam / aiida_core / 4879
69%
develop: 74%

Build:
Build:
LAST BUILD BRANCH: fix_3032_doc_working_importexport
DEFAULT BRANCH: develop
Ran 09 Jan 2019 12:07PM 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
4879

Pull #2375

travis-ci

web-flow
Ensure that configuration options are considered for logging config

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.
Pull Request #2375: Ensure that configuration options are considered for logging config

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

25203 of 36535 relevant lines covered (68.98%)

2.46 hits per line

Jobs
ID Job ID Ran Files Coverage
5 4879.5 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 09 Jan 2019 12:07PM UTC 0
61.91
Travis Job 4879.5
6 4879.6 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 09 Jan 2019 12:13PM UTC 0
61.88
Travis Job 4879.6
7 4879.7 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 09 Jan 2019 12:13PM UTC 0
60.96
Travis Job 4879.7
8 4879.8 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 09 Jan 2019 12:16PM UTC 0
60.91
Travis Job 4879.8
Source Files on build 4879
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4879
  • Pull Request #2375
  • PR Base - provenance_redesign (#4875)
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