Remove in-place operations on model in test_label unit test

This commit is contained in:
AlanCoding
2016-11-15 08:33:29 -05:00
parent 1ca9426270
commit 5258c2a040
2 changed files with 47 additions and 46 deletions

View File

@@ -37,7 +37,7 @@ class Label(CommonModelNameNotUnique):
return \
Label.objects.filter(
organization=None,
jobtemplate_labels__isnull=True
unifiedjobtemplate_labels__isnull=True
)
def is_detached(self):