Projet

Général

Profil

Development #40098

Ajout de tests

Ajouté par Nicolas Roche il y a environ 4 ans. Mis à jour il y a environ 4 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
-
Version cible:
-
Début:
24 février 2020
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

Pour améliorer la couverture...


Fichiers


Demandes liées

Lié à Hobo - Development #40257: Tourner en python3Fermé28 février 2020

Actions

Révisions associées

Révision 748be27d (diff)
Ajouté par Nicolas Roche il y a environ 4 ans

tests: add test to theme views (#40098)

Révision 2825b4dd (diff)
Ajouté par Nicolas Roche il y a environ 4 ans

tests: add test to environment views and command (#40098)

Révision df22a989 (diff)
Ajouté par Nicolas Roche il y a environ 4 ans

tests: add test to tenant management commands (#40098)

Révision 4323e97b (diff)
Ajouté par Nicolas Roche il y a environ 4 ans

tests: add test to home views (#40098)

Révision 8f8b7173 (diff)
Ajouté par Nicolas Roche il y a environ 4 ans

tests: add test to agent worker (#40098)

Révision e9e09622 (diff)
Ajouté par Nicolas Roche il y a environ 4 ans

tests: add test to profile views (#40098)

Historique

#3

Mis à jour par Nicolas Roche il y a environ 4 ans

#5

Mis à jour par Frédéric Péters il y a environ 4 ans

  • Statut changé de Solution proposée à Solution validée

Je veux bien quelques mots en commentaire pour :

+    if six.PY2:
+        reload(settings)
+    else:
+        importlib.reload(settings)
#6

Mis à jour par Nicolas Roche il y a environ 4 ans

Dans hobo/settings.py on a :

if os.path.exists(local_settings_file):
    exec(open(local_settings_file).read())

j'ai fait ça afin de passer dessus dans le test
tests_multitenant/test_agent_worker.py::test_deploy_host_with_agent_patterns
qui utilise la fixture local_settings.

#7

Mis à jour par Nicolas Roche il y a environ 4 ans

  • Statut changé de Solution validée à Résolu (à déployer)
commit e9e096221332bbf6c1fe255f750edf182a7777ad
Author: Nicolas ROCHE <nroche@entrouvert.com>
Date:   Thu Feb 27 00:50:14 2020 +0100

    tests: add test to profile views (#40098)

commit 8f8b71736b6864b4e524d69589507a58c3f9091a
Author: Nicolas ROCHE <nroche@entrouvert.com>
Date:   Tue Feb 25 11:53:56 2020 +0100

    tests: add test to agent worker (#40098)

commit 4323e97b985d3d8c11dc7285cb731df823d0d313
Author: Nicolas ROCHE <nroche@entrouvert.com>
Date:   Mon Feb 24 18:23:17 2020 +0100

    tests: add test to home views (#40098)

commit df22a989c97f3eb531de3383770db398bb88d4ad
Author: Nicolas ROCHE <nroche@entrouvert.com>
Date:   Sat Feb 22 14:21:47 2020 +0100

    tests: add test to tenant management commands (#40098)

commit 2825b4ddbd95a34494a090927e33439ffd000f7d
Author: Nicolas ROCHE <nroche@entrouvert.com>
Date:   Sat Feb 22 22:09:03 2020 +0100

    tests: add test to environment views and command (#40098)

commit 748be27d261ef08e8becbc43f95700d6d72c305d
Author: Nicolas ROCHE <nroche@entrouvert.com>
Date:   Sun Feb 23 20:13:06 2020 +0100

    tests: add test to theme views (#40098)
#8

Mis à jour par Frédéric Péters il y a environ 4 ans

  • Statut changé de Résolu (à déployer) à Solution déployée

Formats disponibles : Atom PDF