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

projectatomic / atomic-reactor / 3498 / 3
92%
master: 96%

Build:
Build:
LAST BUILD BRANCH: test_operator
DEFAULT BRANCH: master
Ran 27 Jun 2017 11:09AM UTC
Files 58
Run time 3s
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

20 Jun 2017 05:18PM UTC coverage: 88.703%. First build
3498.3

push

travis-ci

lcarva
store_metadata_in_osv3: Convert KojiPromotePlugin.key to constant

The plugin exit_store_metadata_in_osv3 was directly importing the
KojiPromotePlugin plugin even though it could be packaged separately.

Now that atomic_reactor/constants.py has been created to store the
key values, it is easier to use that file instead of a plugin that may
not be around.

Convert 'KojiPromotePlugin.key' -> PLUGIN_KOJI_PROMOTE_PLUGIN_KEY

and convert the imports:

'from atomic_reactor.plugins.exit_koji_promote import KojiPromotePlugin'
to
'from atomic_reactor.constants import PLUGIN_KOJI_PROMOTE_PLUGIN_KEY'

This is done for the store_metadata_in_osv3 plugin and its unit
test case, test_store_metadata.

For the test_store_metadata, I ripped out the tricky 'faulting import
and append a test path to plugin' logic.

4146 of 4674 relevant lines covered (88.7%)

0.89 hits per line

Source Files on job 3498.3
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 3498
  • Travis Job 3498.3
  • d8606549 on github
  • Next Job for on 1.6.24 (#3502.2)
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