def test_parse_options():
 m = DummyMagics(_ip)
 nt.assert_equal(m.parse_options('foo', '')[1], 'foo')
 nt.assert_equal(m.parse_options(u'foo', '')[1], u'foo')

def test_parse_options ( ) : m = DummyMagics ( _ip ) nt . assert_equal ( m . parse_options ( 'foo' , '' ) [ 1 ] , 'foo' ) nt . assert_equal ( m . parse_options ( u'foo' , '' ) [ 1 ] , u'foo' )
tests for basic options parsing in magics .