diff mbox

[Branch,~linaro-validation/lava-dashboard/trunk] Rev 382: kill some dead code

Message ID 20130109001516.622.60011.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Michael-Doyle Hudson Jan. 9, 2013, 12:15 a.m. UTC
------------------------------------------------------------
revno: 382
committer: Michael Hudson-Doyle <michael.hudson@linaro.org>
branch nick: trunk
timestamp: Wed 2013-01-09 13:14:23 +1300
message:
  kill some dead code
modified:
  dashboard_app/views/filters/forms.py


--
lp:lava-dashboard
https://code.launchpad.net/~linaro-validation/lava-dashboard/trunk

You are subscribed to branch lp:lava-dashboard.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-dashboard/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'dashboard_app/views/filters/forms.py'
--- dashboard_app/views/filters/forms.py	2012-12-12 22:56:37 +0000
+++ dashboard_app/views/filters/forms.py	2013-01-09 00:14:23 +0000
@@ -139,23 +139,6 @@ 
     TRFTestForm, extra=0, formset=BaseTRFTestsFormSet)
 
 
-class FakeTRFTest(object):
-    def __init__(self, form):
-        self.test = form.cleaned_data['test']
-        self.test_id = self.test.id
-        self._case_ids = []
-        self._case_names = []
-        for tc_form in form.test_case_formset:
-            self._case_ids.append(tc_form.cleaned_data['test_case'].id)
-            self._case_names.append(tc_form.cleaned_data['test_case'].test_case_id)
-
-    def all_case_ids(self):
-        return self._case_ids
-
-    def all_case_names(self):
-        return self._case_names
-
-
 class TestRunFilterForm(forms.ModelForm):
     class Meta:
         model = TestRunFilter