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

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

Build:
Build:
LAST BUILD BRANCH: test_operator
DEFAULT BRANCH: master
Ran 26 Jun 2017 02:06PM UTC
Jobs 3
Files 58
Run time 2min
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
3495

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 3495.1 26 Jun 2017 02:06PM UTC 0
91.66
Travis Job 3495.1
2 3495.2 26 Jun 2017 02:07PM UTC 0
88.7
Travis Job 3495.2
3 3495.3 26 Jun 2017 02:09PM UTC 0
88.7
Travis Job 3495.3
Source Files on build 3495
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3495
  • d8606549 on github
  • Next Build on release_1.6.24 (#3501)
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