poelzi / pida-poelzi-newbuffer
fork of pida-main
this is an experimental, long living branch for 0.7 most likely. it's a complete redesign of the core<->editor interface. goals: - editors will require dbus, direct embedding or a similar technique which must be able to control the editor from background - cleaner api - support for split views. one buffer on different views etc. (at least from the api side it's possible)
Clone this repository (size: 3.4 MB): HTTPS / SSH
$ hg clone http://bitbucket.org/poelzi/pida-poelzi-newbuffer/
| commit 1800: | c5e0e718f733 |
| parent 1799: | 33c3526483a2 |
| branch: | default |
nosetest plugin output fixup + version bump
- View RonnyPfannschmidt's profile
-
RonnyPfannschmidt's public repos »
- pida-patches
- vimish
- virtualenvmanager
- py-virtualenv
- pida-hacks
- distribute-0.6
- distribute-resources
- pytest-codecheckers
- py-execnet3k
- gexcept
- glashammer-main
- flatland-htmlwidgets
- django-vcstorage-new-anyvc
- hgpaste
- chrome-markman
- apipkg
- kij
- gtkarchitect-main
- gazpacho
- plugpost
- rope-qickfix
- pyscope
- anyvc
- prolog
- Send message
12 months ago
Changed (Δ287 bytes):
raw changeset »
pida-plugins/nosetest/nosetest.py (12 lines added, 6 lines removed)
pida-plugins/nosetest/service.pida (2 lines added, 2 lines removed)
Up to file-list pida-plugins/nosetest/nosetest.py:
| … | … | @@ -142,7 +142,7 @@ class TestItem(object): |
142 |
142 |
|
143 |
143 |
@property |
144 |
144 |
def output(self): |
145 |
return |
|
145 |
return getattr(self, trace, 'Nothing is wrong directly here, i think') |
|
146 |
146 |
|
147 |
147 |
class TestResultBrowser(PidaGladeView): |
148 |
148 |
|
| … | … | @@ -179,11 +179,12 @@ class TestResultBrowser(PidaGladeView): |
179 |
179 |
self.svc.notify_user(_("No project found")) |
180 |
180 |
return |
181 |
181 |
src = project.source_directory |
182 |
#XXX: hidden? |
|
183 |
self.svc.boss.cmd('commander', 'execute', |
|
184 |
commandargs = [ |
|
185 |
os.path.join(os.path.dirname(__file__),'pidanose.py'), |
|
186 |
|
|
182 |
def call(*k, **kw): |
|
183 |
subprocess.call(*k, **kw) |
|
184 |
||
185 |
AsyncTask(call).start([ |
|
186 |
os.path.join(os.path.dirname(__file__), 'pidanose.py'), |
|
187 |
'--with-dbus-reporter', '-q', |
|
187 |
188 |
], |
188 |
189 |
cwd=src, |
189 |
190 |
) |
| … | … | @@ -195,6 +196,7 @@ class TestResultBrowser(PidaGladeView): |
195 |
196 |
item = TestItem(test, self.stack[-1]) |
196 |
197 |
self.source_tree.append(self.stack[-1], item) |
197 |
198 |
self.stack.append(item) |
199 |
self.source_tree.expand(item.parent) |
|
198 |
200 |
|
199 |
201 |
def stop_test(self): |
200 |
202 |
self.source_tree.update(self.stack[-1]) |
| … | … | @@ -221,6 +223,8 @@ class TestResultBrowser(PidaGladeView): |
221 |
223 |
item.file = file |
222 |
224 |
self.source_tree.append(self.stack[-1], item) |
223 |
225 |
self.stack.append(item) |
226 |
if item.parent is not None: |
|
227 |
self.source_tree.expand(item.parent) |
|
224 |
228 |
|
225 |
229 |
def stop_context(self): |
226 |
230 |
#XXX: new status |
| … | … | @@ -236,6 +240,8 @@ class TestResultBrowser(PidaGladeView): |
236 |
240 |
current.status = iter(states).next() |
237 |
241 |
|
238 |
242 |
self.source_tree.update(current) |
243 |
if current.status == 'success': |
|
244 |
self.source_tree.collapse(current) |
|
239 |
245 |
|
240 |
246 |
|
241 |
247 |
class TestOutputView(PidaView): |
