Returns true if a segment could be a failed upload. Or in progress, the two are not distinguished.
(seg)
| 41 | |
| 42 | |
| 43 | def failed(seg): |
| 44 | """Returns true if a segment could be a failed upload. |
| 45 | |
| 46 | Or in progress, the two are not distinguished. |
| 47 | """ |
| 48 | return seg._marked is False and seg._uploaded is False |
| 49 | |
| 50 | |
| 51 | def success(seg): |
no outgoing calls
no test coverage detected