Ran
|
Jobs
1
|
Files
8
|
Run time
3s
|
Badge
Embed ▾
README BADGES
|
travis-ci
check_pending: Rename series_id > series In 06b6ae590, `series` was renamed to `series_id`, which caused an exception in `sktm`: ``` Traceback (most recent call last): File "/home/skt/sktm/sktm.py", line 135, in <module> sw.wait_for_pending() File "/home/skt/sktm/sktm/__init__.py", line 367, in wait_for_pending self.check_pending() File "/home/skt/sktm/sktm/__init__.py", line 357, in check_pending self.db.commit_tested(patches, series_id) UnboundLocalError: local variable 'series_id' referenced before assignment ``` `series` is set to `None` early in the method and it should be set to `None` at the end when Patchwork v1 is being used. Fixes #89. Signed-off-by: Major Hayden <major@redhat.com>
2 of 2 new or added lines in 1 file covered. (100.0%)
742 of 1289 relevant lines covered (57.56%)
0.58 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
2 |
31.25 |
0.0% | sktm/__init__.py |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 256.1 | 8 |
57.56 |
Travis Job 256.1 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|