Compare commits

..

No commits in common. "3df1165806981409f7f41a77dbd08dfe3e64b1d5" and "2519454dae7b8122557258fc3fc848ba285caf14" have entirely different histories.

5 changed files with 92 additions and 4 deletions

3
.gitignore vendored
View File

@ -4,5 +4,4 @@ settings.json
*__pycache__*
*__pycache__/*
geckodriver.log
*/output/*
*.html*
*/output/*

View File

@ -0,0 +1,84 @@
<!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-24 15:02:41</p>
<p class='attribute'><strong>Duration: </strong>39.96 s</p>
<p class='attribute'><strong>Summary: </strong>Total: 3, Pass: 3</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_connexion_admin</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_create_departement</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_delete_departement</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>
<td colspan="3">
Total: 3, Pass: 3 -- Duration: 39.96 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

0
index.html Normal file
View File

View File

@ -17,5 +17,4 @@ python3 05_saisie_note_test.py;
python3 06_test_moyenne.py;
python3 07_test_admission.py;
python3 deleteDepartement.py;
tree ./ResultatTest/ -H './ResultatTest/' -F -L 1 --noreport --charset utf-8 -P "*.html"> index.html
tree -H './ResultatTest' -L 1 --noreport --charset utf-8 > index.html

6
output.txt Normal file
View File

@ -0,0 +1,6 @@
>>>
.....
----------------------------------------------------------------------
Ran 5 tests in 77.731s
OK