#726 pass full buildinfo obtained by get_build to postBuildStateChange callbacks
Merged by mikem. Opened by julian8628.
julian8628/koji full-buildinfo  into  master

Download 726.patch

unit tests fail. Can you fix?

======================================================================
ERROR: test_import_build_completed_build (tests.test_hub.test_import_build.TestImportBuild)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/mock/mock.py", line 1305, in patched
    return func(*args, **keywargs)
  File "/tmp/tmp8mf0bm/tests/test_hub/test_import_build.py", line 248, in test_import_build_completed_build
    kojihub.import_build(self.src_filename, [self.filename])
  File "/tmp/tmp8mf0bm/hub/kojihub.py", line 5060, in import_build
    binfo = get_build(build_id, strict=True)
  File "/usr/lib/python2.7/site-packages/mock/mock.py", line 1062, in __call__
    return _mock_self._mock_call(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/mock/mock.py", line 1121, in _mock_call
    result = next(effect)
  File "/usr/lib/python2.7/site-packages/mock/mock.py", line 109, in next
    return _next(obj)
StopIteration
----------------------------------------------------------------------
Ran 717 tests in 23.588s
FAILED (errors=1)
make: *** [Makefile:69: test] Error 1

updated

rebased onto 6f0fce05aa06eebd2a5e910c3b044904f7d0a1e8

Commit 2b7b90a2 fixes this pull-request

Pull-Request has been merged by mikem

Metadata