Esempio n. 1
0
    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)
Esempio n. 2
0
    def test_setup(self):
        fuser = FriendlyUser('daniellindsley', conn=self.conn)
        self.assertFalse(fuser.is_setup)

        fuser.setup()
        self.assertTrue(fuser.is_setup)
Esempio n. 3
0
    def test_setup(self):
        fuser = FriendlyUser('daniellindsley', conn=self.conn)
        self.assertFalse(fuser.is_setup)

        fuser.setup()
        self.assertTrue(fuser.is_setup)