Skip to content

Commit

Permalink
labels are removed from test runs Refs: #652
Browse files Browse the repository at this point in the history
  • Loading branch information
azmiyuksel authored and atodorov committed Oct 8, 2019
1 parent b6f4e1e commit 262157c
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions tcms/testruns/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ def populate(self, product_id):

class NewRunForm(BaseRunForm):
case = forms.ModelMultipleChoiceField(
label='Cases',
queryset=TestCase.objects.filter(case_status__id=2).all(),
)

Expand All @@ -50,29 +49,24 @@ def assign_plan(self, plan_id):

class XMLRPCUpdateRunForm(XMLRPCNewRunForm):
plan = forms.ModelChoiceField(
label='Test Plan',
queryset=TestPlan.objects.all(),
required=False,
)
summary = forms.CharField(
label='Summary',
required=False
)
manager = forms.ModelChoiceField(
label='Manager', queryset=User.objects.all(), required=False
queryset=User.objects.all(), required=False
)
product = forms.ModelChoiceField(
label='Product',
queryset=Product.objects.all(),
empty_label=None, required=False
)
product_version = forms.ModelChoiceField(
label='Product Version',
queryset=Version.objects.none(),
empty_label=None, required=False
)
build = forms.ModelChoiceField(
label='Build',
queryset=Build.objects.all(),
required=False
)
Expand Down Expand Up @@ -105,7 +99,6 @@ class SearchRunForm(forms.Form):
required=False
)
build = forms.ModelChoiceField(
label='Build',
queryset=Build.objects.none(),
required=False,
)
Expand Down

0 comments on commit 262157c

Please sign in to comment.