diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-08-10 18:27:17 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-10 13:58:02 -0700 |
commit | 5fe1c196445d7719474f9b5214817bd00591929b (patch) | |
tree | b41f60a9c85c51c58611cffc21c41a47ac6539f1 /bitbake/lib/toaster/toastergui/tests.py | |
parent | 27a483dcb32c87ca8b3b1ec36cc0cb30af26de45 (diff) | |
download | poky-5fe1c196445d7719474f9b5214817bd00591929b.tar.gz |
bitbake: toaster: fix pylint warning 'no space allowed'
Fixed pylint warning "No space allowed before/after bracket".
(Bitbake rev: 0b0f360b3660373716189995f3d33ffbc1b21db5)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/tests.py')
-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 |