def test_getcwdu(): AreEqual(nt.getcwd(), nt.getcwdu()) nt.mkdir('dir_create_test') AreEqual(nt.listdir(nt.getcwdu()).count('dir_create_test'), 1) nt.rmdir('dir_create_test')
def test_getcwdu(self): self.assertEqual(nt.getcwd(), nt.getcwdu()) nt.mkdir('dir_create_test') self.assertEqual(nt.listdir(nt.getcwdu()).count('dir_create_test'), 1) nt.rmdir('dir_create_test')
def test_getcwdu(): AreEqual(nt.getcwd(),nt.getcwdu()) nt.mkdir('dir_create_test') AreEqual(nt.listdir(nt.getcwdu()).count('dir_create_test'), 1) nt.rmdir('dir_create_test')
def test_getcwdu(self): self.assertEqual(nt.getcwd(),nt.getcwdu()) nt.mkdir('dir_create_test') self.assertEqual(nt.listdir(nt.getcwdu()).count('dir_create_test'), 1) nt.rmdir('dir_create_test')