small fixes for bodhi_util issues that were killing depcheck execution
ClosedPublic

Authored by tflink on Aug 19 2015, 6:01 AM.

Details

Summary
  • fixing initialization issue where bodhi_utils couldn't be used
  • removed None from config defaults, added test to catch that in the future
Test Plan

works locally, mostly works on dev but network issues are preventing more testing there

Diff Detail

Repository
rLTRN libtaskotron
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
tflink retitled this revision from to small fixes for bodhi_util issues that were killing depcheck execution.Aug 19 2015, 6:01 AM
tflink updated this object.
tflink edited the test plan for this revision. (Show Details)
tflink added a reviewer: kparal.
kparal accepted this revision.Aug 19 2015, 8:43 AM

If I understood correctly what this is about, it looks sane.

libtaskotron/config_defaults.py
36–37

I assume this diff is related to this? I.e. it crashed when loading a string password from the config file?

testing/test_bodhi_utils.py
25 ↗(On Diff #1339)

I got a bit confused here, whether it is a typo or not. A comment would be handy.

This revision is now accepted and ready to land.Aug 19 2015, 8:43 AM

Please note that D514 fixes the Bodhi client initialization in a different way, so if it is accepted, we have to throw out the bodhi_utils.py (and probably also test_bodhi_utils.py) changes from this patch (and adjust the commit title).

tflink planned changes to this revision.Aug 19 2015, 2:25 PM

Removing bodhi_utils bits in favor of D514 after an apparent misunderstanding

libtaskotron/config_defaults.py
36–37

yeah, that's why stg has been blowing up since it was accidentally updated yesterday.

https://taskotron.stg.fedoraproject.org/taskmaster/builders/x86_64/builds/164054/steps/runtask/logs/stdio

testing/test_bodhi_utils.py
25 ↗(On Diff #1339)

If we're going forward with D514, it's going away anyways. it was a test to make sure that the BodhiClient isn't instantiated and thus, no network activity @ creation time

tflink updated this revision to Diff 1344.Aug 19 2015, 2:27 PM
  • removing fix for botched bodhi_utils change in liu of D514
This revision is now accepted and ready to land.Aug 19 2015, 2:27 PM
This revision was automatically updated to reflect the committed changes.