summaryrefslogtreecommitdiff
path: root/tests/fixtures.py
diff options
context:
space:
mode:
authorCharles Oliveira <charles.oliveira@linaro.org>2020-04-13 11:05:45 -0300
committerCharles Oliveira <charles.oliveira@linaro.org>2020-04-13 11:05:45 -0300
commit7bd6c3c0ad11c86a05909f844fa2dbe2113414f0 (patch)
treef089fb4749eafb62d328bedee3c60d5ff6655291 /tests/fixtures.py
parent1e222f02026bead5c7f08a29979bd8605f94ab27 (diff)
core: models: update metricthreshold to use env
Diffstat (limited to 'tests/fixtures.py')
-rw-r--r--tests/fixtures.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fixtures.py b/tests/fixtures.py
index 4f0224a..d795d50 100644
--- a/tests/fixtures.py
+++ b/tests/fixtures.py
@@ -40,5 +40,5 @@ testjob = testrun.test_jobs.create(backend=backend, target=project, target_build
emailtemplate = m.EmailTemplate.objects.create(name='my_emailtemplate')
suitemetadata = m.SuiteMetadata.objects.create(name='my_suitemetadata')
-metricthreshold = m.MetricThreshold.objects.create(project=project, value=42)
+metricthreshold = m.MetricThreshold.objects.create(environment=environment, value=42)
report = build.delayed_reports.create()