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

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

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

pending completion
3498

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.

4308 of 4674 relevant lines covered (92.17%)

2.69 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3498.1 27 Jun 2017 11:09AM UTC 0
91.66
Travis Job 3498.1
2 3498.2 27 Jun 2017 11:11AM UTC 0
88.7
Travis Job 3498.2
3 3498.3 27 Jun 2017 11:09AM UTC 0
88.7
Travis Job 3498.3
Source Files on build 3498
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3498
  • d8606549 on github
  • Next Build on 1.6.24 (#3502)
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