diff options
| -rw-r--r-- | bitbake/lib/toaster/toastergui/tests.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bitbake/lib/toaster/toastergui/tests.py b/bitbake/lib/toaster/toastergui/tests.py index d15584955d..bc108010bf 100644 --- a/bitbake/lib/toaster/toastergui/tests.py +++ b/bitbake/lib/toaster/toastergui/tests.py | |||
| @@ -103,10 +103,10 @@ class ViewTests(TestCase): | |||
| 103 | layers_url = reverse('xhr_layerstypeahead', args=(self.project.id,)) | 103 | layers_url = reverse('xhr_layerstypeahead', args=(self.project.id,)) |
| 104 | prj_url = reverse('xhr_projectstypeahead') | 104 | prj_url = reverse('xhr_projectstypeahead') |
| 105 | 105 | ||
| 106 | urls = [ layers_url, | 106 | urls = [layers_url, |
| 107 | prj_url, | 107 | prj_url, |
| 108 | reverse('xhr_recipestypeahead', args=(self.project.id,)), | 108 | reverse('xhr_recipestypeahead', args=(self.project.id,)), |
| 109 | reverse('xhr_machinestypeahead', args=(self.project.id,)), | 109 | reverse('xhr_machinestypeahead', args=(self.project.id,)), |
| 110 | ] | 110 | ] |
| 111 | 111 | ||
| 112 | def basic_reponse_check(response, url): | 112 | def basic_reponse_check(response, url): |
| @@ -147,7 +147,7 @@ class ViewTests(TestCase): | |||
| 147 | results = False | 147 | results = False |
| 148 | 148 | ||
| 149 | for typeing in list(string.ascii_letters): | 149 | for typeing in list(string.ascii_letters): |
| 150 | response = self.client.get(url, { 'search' : typeing }) | 150 | response = self.client.get(url, {'search': typeing}) |
| 151 | results = basic_reponse_check(response, url) | 151 | results = basic_reponse_check(response, url) |
| 152 | if results: | 152 | if results: |
| 153 | break | 153 | break |
