squad 1.73__py3-none-any.whl → 1.75__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- squad/api/rest.py +18 -10
- squad/ci/backend/tuxsuite.py +104 -22
- squad/ci/models.py +30 -1
- squad/core/comparison.py +25 -10
- squad/core/failures.py +14 -18
- squad/core/history.py +32 -26
- squad/core/models.py +6 -5
- squad/core/queries.py +1 -1
- squad/frontend/comparison.py +5 -5
- squad/frontend/templates/squad/_results_table.jinja2 +0 -4
- squad/frontend/templates/squad/build-nav.jinja2 +0 -5
- squad/frontend/templates/squad/test_history.jinja2 +1 -1
- squad/frontend/templatetags/squad.py +2 -4
- squad/frontend/tests.py +54 -36
- squad/frontend/urls.py +0 -2
- squad/frontend/views.py +35 -16
- squad/settings.py +9 -0
- squad/version.py +1 -1
- {squad-1.73.dist-info → squad-1.75.dist-info}/METADATA +1 -1
- {squad-1.73.dist-info → squad-1.75.dist-info}/RECORD +24 -26
- squad/frontend/failures.py +0 -65
- squad/frontend/templates/squad/failures.jinja2 +0 -91
- {squad-1.73.dist-info → squad-1.75.dist-info}/COPYING +0 -0
- {squad-1.73.dist-info → squad-1.75.dist-info}/WHEEL +0 -0
- {squad-1.73.dist-info → squad-1.75.dist-info}/entry_points.txt +0 -0
- {squad-1.73.dist-info → squad-1.75.dist-info}/top_level.txt +0 -0
@@ -1,91 +0,0 @@
|
|
1
|
-
{% extends "squad/base.jinja2" %}
|
2
|
-
|
3
|
-
{% block content %}
|
4
|
-
|
5
|
-
<div ng-app='Build'>
|
6
|
-
{% include "squad/build-nav.jinja2" %}
|
7
|
-
</div>
|
8
|
-
|
9
|
-
<h2>{{ _('All test failures') }}</h2>
|
10
|
-
|
11
|
-
{% with items=page %}
|
12
|
-
{% include "squad/_pagination.jinja2" %}
|
13
|
-
{% endwith %}
|
14
|
-
|
15
|
-
<div>
|
16
|
-
<div class='row row-bordered'>
|
17
|
-
<div class='col-md-12 col-sm-12 filter'>
|
18
|
-
<a id="searchLink"><button type='button' class='btn btn-primary fa fa-search'></button></a>
|
19
|
-
<input name='search' id='search' type='text' placeholder='{{ _('Filter results ...') }}' value='{{search}}' />
|
20
|
-
</div>
|
21
|
-
</div>
|
22
|
-
|
23
|
-
<table class='test-results'>
|
24
|
-
<thead>
|
25
|
-
<th>{{ _('Test') }}</th>
|
26
|
-
{% for e in environments %}
|
27
|
-
<th>{{ e.slug }}</th>
|
28
|
-
{% endfor %}
|
29
|
-
</thead>
|
30
|
-
{% if rows|length == 0 %}
|
31
|
-
<tr>
|
32
|
-
<td colspan="{{environments|length|add(1)}}" class="alert alert-warning">
|
33
|
-
<em>{{ _('This build has no failures yet.') }}</em>
|
34
|
-
</td>
|
35
|
-
</tr>
|
36
|
-
{% else %}
|
37
|
-
{% for i in page %}
|
38
|
-
{% set fn = i.metadata__suite + "/" + i.metadata__name %}
|
39
|
-
<tr>
|
40
|
-
<td>{{ fn }}</td>
|
41
|
-
{% for e in environments %}
|
42
|
-
{% if e.slug in rows and fn in rows[e.slug]: %}
|
43
|
-
<td class="{{ rows[e.slug][fn].status }}">
|
44
|
-
{{ rows[e.slug][fn].confidence.score }}
|
45
|
-
<span data-toggle="tooltip" title="{{ _('Click to display confidence info') }}">
|
46
|
-
<button class="fa fa-info-circle popover-regressions-fixes"></button>
|
47
|
-
<span title="{{ _('Confidence') }}" class="hidden">
|
48
|
-
Pass: {{ rows[e.slug][fn].confidence.passes }}
|
49
|
-
Count: {{ rows[e.slug][fn].confidence.count }}
|
50
|
-
Threshold: {{ rows[e.slug][fn].confidence.threshold }}
|
51
|
-
</span>
|
52
|
-
</span>
|
53
|
-
</td>
|
54
|
-
{% else %}
|
55
|
-
<td> </td>
|
56
|
-
{% endif %}
|
57
|
-
{% endfor %}
|
58
|
-
<tr>
|
59
|
-
{% endfor %}
|
60
|
-
{% endif %}
|
61
|
-
</table>
|
62
|
-
|
63
|
-
</div>
|
64
|
-
|
65
|
-
{% with items=page %}
|
66
|
-
{% include "squad/_pagination.jinja2" %}
|
67
|
-
{% endwith %}
|
68
|
-
|
69
|
-
{% endblock %}
|
70
|
-
|
71
|
-
{% block javascript %}
|
72
|
-
<script type="module" src='{{static("squad/build.js")}}'></script>
|
73
|
-
<script type="text/javascript" src='{{static("squad/table.js")}}'></script>
|
74
|
-
<script type="text/javascript">
|
75
|
-
$('[data-toggle="tooltip"]').tooltip();
|
76
|
-
function loadSearchURL(pageParam, search) {
|
77
|
-
searchURL = pageParam + "&search=" + search;
|
78
|
-
window.location = searchURL;
|
79
|
-
}
|
80
|
-
$("#search").keypress(function(e) {
|
81
|
-
if(e.which == 13) {
|
82
|
-
window.location = "?page=1&search=" + $("#search").val();
|
83
|
-
return false;
|
84
|
-
}
|
85
|
-
});
|
86
|
-
$("#searchLink").click(function(event) {
|
87
|
-
window.location = "?page=1&search=" + $("#search").val();
|
88
|
-
return false;
|
89
|
-
});
|
90
|
-
</script>
|
91
|
-
{% endblock %}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|