def test_setup(self): fuser = FriendlyUser('daniellindsley', self.data_dir) self.assertFalse(os.path.exists(fuser.full_path)) self.assertFalse(fuser.is_setup) fuser.setup() self.assertTrue(os.path.exists(fuser.full_path)) self.assertTrue(fuser.is_setup)
def test_setup(self): fuser = FriendlyUser('daniellindsley', conn=self.conn) self.assertFalse(fuser.is_setup) fuser.setup() self.assertTrue(fuser.is_setup)