mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-03-09 13:38:24 +00:00
Oops
This commit is contained in:
@@ -3,6 +3,7 @@ from django import forms
|
||||
from training import models
|
||||
from RIGS.models import Profile
|
||||
|
||||
|
||||
class QualificationForm(forms.ModelForm):
|
||||
class Meta:
|
||||
model = models.TrainingItemQualification
|
||||
|
||||
@@ -29,6 +29,7 @@ def training_item(db):
|
||||
training_category.delete()
|
||||
training_item.delete()
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def level(db):
|
||||
level = models.TrainingLevel.objects.create(description="There is no description.", level=models.TrainingLevel.TECHNICIAN)
|
||||
|
||||
@@ -12,7 +12,6 @@ from training import models
|
||||
from training.tests import pages
|
||||
|
||||
|
||||
|
||||
def test_add_qualification(logged_in_browser, live_server, trainee, supervisor, training_item):
|
||||
page = pages.AddQualification(logged_in_browser.driver, live_server.url, pk=trainee.pk).open()
|
||||
# assert page.name in str(trainee)
|
||||
|
||||
Reference in New Issue
Block a user