In [1]:
%load_ext autoreload

In [2]:
%aimport cmac

In [3]:
%aimport test_cmac

In [4]:
%aimport gait_loader

In [5]:
%aimport test_gait_loader

In [6]:
%autoreload 1

In [12]:
run -m unittest discover


...........
----------------------------------------------------------------------
Ran 11 tests in 0.074s

OK

In [9]:
run -d -m test_gait_loader


Breakpoint 1 at /home/roberto/Documents/motus/test_gait_loader.py:1
NOTE: Enter 'c' at the ipdb>  prompt to continue execution.
> /home/roberto/Documents/motus/test_gait_loader.py(1)<module>()
1---> 1 import unittest
      2 from gait_loader import *
      3 class TestDataLoader(unittest.TestCase):

ipdb> q
---------------------------------------------------------------------------
BdbQuit                                   Traceback (most recent call last)
/usr/lib/python2.7/runpy.pyc in run_module(mod_name, init_globals, run_name, alter_sys)
    174     if alter_sys:
    175         return _run_module_code(code, init_globals, run_name,
--> 176                                 fname, loader, pkg_name)
    177     else:
    178         # Leave the sys module alone

/usr/lib/python2.7/runpy.pyc in _run_module_code(code, init_globals, mod_name, mod_fname, mod_loader, pkg_name)
     80         mod_globals = temp_module.module.__dict__
     81         _run_code(code, mod_globals, init_globals,
---> 82                   mod_name, mod_fname, mod_loader, pkg_name)
     83     # Copy the globals of the temporary module, as they
     84     # may be cleared when the temporary module goes away

/usr/lib/python2.7/runpy.pyc in _run_code(code, run_globals, init_globals, mod_name, mod_fname, mod_loader, pkg_name)
     70                        __loader__ = mod_loader,
     71                        __package__ = pkg_name)
---> 72     exec code in run_globals
     73     return run_globals
     74 

/home/roberto/Documents/motus/test_gait_loader.py in <module>()
----> 1 import unittest
      2 from gait_loader import *
      3 class TestDataLoader(unittest.TestCase):
      4         def setUp(self):
      5                 self._loader3 = loadWalk3()

/home/roberto/Documents/motus/test_gait_loader.py in <module>()
----> 1 import unittest
      2 from gait_loader import *
      3 class TestDataLoader(unittest.TestCase):
      4         def setUp(self):
      5                 self._loader3 = loadWalk3()

/usr/lib/python2.7/bdb.py in trace_dispatch(self, frame, event, arg)
     47             return # None
     48         if event == 'line':
---> 49             return self.dispatch_line(frame)
     50         if event == 'call':
     51             return self.dispatch_call(frame, arg)

/usr/lib/python2.7/bdb.py in dispatch_line(self, frame)
     66         if self.stop_here(frame) or self.break_here(frame):
     67             self.user_line(frame)
---> 68             if self.quitting: raise BdbQuit
     69         return self.trace_dispatch
     70 

BdbQuit: 
WARNING: Unknown failure executing module: <test_gait_loader>

In [ ]: