##// END OF EJS Templates
Fix storemagic test for new alias API
Thomas Kluyver -
Show More
@@ -27,7 +27,7 b' def test_store_restore():'
27 # Check restoring
27 # Check restoring
28 ip.magic('store -r')
28 ip.magic('store -r')
29 nt.assert_equal(ip.user_ns['foo'], 78)
29 nt.assert_equal(ip.user_ns['foo'], 78)
30 nt.assert_in('bar', ip.alias_manager.alias_table)
30 assert ip.alias_manager.is_alias('bar')
31 nt.assert_in(os.path.realpath(tmpd), ip.user_ns['_dh'])
31 nt.assert_in(os.path.realpath(tmpd), ip.user_ns['_dh'])
32
32
33 os.rmdir(tmpd)
33 os.rmdir(tmpd)
General Comments 0
You need to be logged in to leave comments. Login now