ScodocTestClient/output/TestResults___main__.PythonOrgSearch_2021-06-23_13-51-43.html

142 lines
6.9 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
<title>Unittest Results</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
</head>
<body>
<div class="container">
<div class="row">
<div class="col-xs-12">
<h2 class="text-capitalize">Unittest Results</h2>
<p class='attribute'><strong>Start Time: </strong>2021-06-23 13:51:43</p>
<p class='attribute'><strong>Duration: </strong>137.89 s</p>
<p class='attribute'><strong>Summary: </strong>Total: 8, Pass: 6, Fail: 2</p>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-sm-10 col-md-10">
<table class='table table-hover table-responsive'>
<thead>
<tr>
<th>__main__.PythonOrgSearch</th>
<th>Status</th>
<th></th>
</tr>
</thead>
<tbody>
<tr class='success'>
<td class="col-xs-10">test_011_create_formation</td>
<td class="col-xs-1">
<span class="label label-success" style="display:block;width:40px;">Pass</span>
</td>
<td class="col-xs-1">
</td>
</tr>
<tr class='success'>
<td class="col-xs-10">test_012_change_name_formation</td>
<td class="col-xs-1">
<span class="label label-success" style="display:block;width:40px;">Pass</span>
</td>
<td class="col-xs-1">
</td>
</tr>
<tr class='success'>
<td class="col-xs-10">test_013_same_name_formation</td>
<td class="col-xs-1">
<span class="label label-success" style="display:block;width:40px;">Pass</span>
</td>
<td class="col-xs-1">
</td>
</tr>
<tr class='danger'>
<td class="col-xs-10">test_014_ajout_UE</td>
<td class="col-xs-1">
<span class="label label-danger" style="display:block;width:40px;">Fail</span>
</td>
<td class="col-xs-1">
<button class="btn btn-default btn-xs">View</button>
</td>
</tr>
<tr style="display:none;">
<td class="col-xs-9" colspan="3"><p style="color:maroon;">AssertionError: False is not true</p><p style="color:maroon;">Traceback (most recent call last):
File "/home/aurelien/Bureau/pythonSelenium/02_creation_formation_test.py", line 132, in test_014_ajout_UE
self.assertTrue((NOM_DPT.upper() + "-" + "DUT" + "--") in driver.page_source)
AssertionError: False is not true
</p>
</td>
</tr>
<tr class='success'>
<td class="col-xs-10">test_015_ajout_matiere</td>
<td class="col-xs-1">
<span class="label label-success" style="display:block;width:40px;">Pass</span>
</td>
<td class="col-xs-1">
</td>
</tr>
<tr class='success'>
<td class="col-xs-10">test_016_ajout_Semestre</td>
<td class="col-xs-1">
<span class="label label-success" style="display:block;width:40px;">Pass</span>
</td>
<td class="col-xs-1">
</td>
</tr>
<tr class='success'>
<td class="col-xs-10">test_017_creer_nouvelle_version_formation</td>
<td class="col-xs-1">
<span class="label label-success" style="display:block;width:40px;">Pass</span>
</td>
<td class="col-xs-1">
</td>
</tr>
<tr class='danger'>
<td class="col-xs-10">test_020_delete_formation</td>
<td class="col-xs-1">
<span class="label label-danger" style="display:block;width:40px;">Fail</span>
</td>
<td class="col-xs-1">
<button class="btn btn-default btn-xs">View</button>
</td>
</tr>
<tr style="display:none;">
<td class="col-xs-9" colspan="3"><p style="color:maroon;">AssertionError: False is not true</p><p style="color:maroon;">Traceback (most recent call last):
File "/home/aurelien/Bureau/pythonSelenium/02_creation_formation_test.py", line 241, in test_020_delete_formation
self.assertTrue(False)
AssertionError: False is not true
</p>
</td>
</tr>
<tr>
<td colspan="3">
Total: 8, Pass: 6, Fail: 2 -- Duration: 137.89 s
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('td').on('click', '.btn', function(e){
e.preventDefault();
e.stopImmediatePropagation();
var $this = $(this);
var $nextRow = $this.closest('tr').next('tr');
$nextRow.slideToggle("fast");
$this.text(function(i, text){
if (text === 'View') {
return 'Hide';
} else {
return 'View';
};
});
});
});
</script>
</body>
</html