##// END OF EJS Templates
[core][tests][profile] Remove nose
Samuel Gaist -
Show More
@@ -27,8 +27,6 b' import tempfile'
27 27 from pathlib import Path
28 28 from unittest import TestCase
29 29
30 import nose.tools as nt
31
32 30 from IPython.core.profileapp import list_profiles_in, list_bundled_profiles
33 31 from IPython.core.profiledir import ProfileDir
34 32
@@ -139,14 +137,14 b' def test_list_profiles_in():'
139 137 found_unicode = True
140 138 break
141 139 if dec.unicode_paths:
142 nt.assert_true(found_unicode)
143 nt.assert_equal(set(profiles), {'foo', 'hello'})
140 assert found_unicode is True
141 assert set(profiles) == {"foo", "hello"}
144 142
145 143
146 144 def test_list_bundled_profiles():
147 145 # This variable will need to be updated when a new profile gets bundled
148 146 bundled = sorted(list_bundled_profiles())
149 nt.assert_equal(bundled, [])
147 assert bundled == []
150 148
151 149
152 150 def test_profile_create_ipython_dir():
@@ -167,4 +165,3 b' def test_profile_create_ipython_dir():'
167 165 assert Path(profile_dir).exists()
168 166 ipython_config = profile_dir / "ipython_config.py"
169 167 assert Path(ipython_config).exists()
170
General Comments 0
You need to be logged in to leave comments. Login now