From e3ba9c663e72d4f65727837fe197a16ff6228079 Mon Sep 17 00:00:00 2001 From: Stefano Alberto Russo <stefano.russo@gmail.com> Date: Sat, 15 Jan 2022 01:27:21 +0100 Subject: [PATCH] Fixed broken tests. --- services/webapp/code/rosetta/core_app/tests/test_models.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/services/webapp/code/rosetta/core_app/tests/test_models.py b/services/webapp/code/rosetta/core_app/tests/test_models.py index 508ff70..5fc304a 100644 --- a/services/webapp/code/rosetta/core_app/tests/test_models.py +++ b/services/webapp/code/rosetta/core_app/tests/test_models.py @@ -3,7 +3,7 @@ import json from django.contrib.auth.models import User from .common import BaseAPITestCase -from ..models import Profile, Computing, ComputingConf +from ..models import Profile, Computing class Modeltest(BaseAPITestCase): @@ -22,8 +22,5 @@ class Modeltest(BaseAPITestCase): computing = Computing.objects.create(name='MyComp', type='remote') - computingSysConf = ComputingConf.objects.create(computing=computing, data={'myvar':42}) - - self.assertEqual(ComputingConf.objects.all()[0].data, {'myvar':42}) -- GitLab