def test_staffUpdate(self):

        # create a new Staff object and add it to the database
        user = User(email='*****@*****.**',
                    encrypted_password=encrypt('password'),
                    name='staff')
        stf = Staff(user=user)
        db.session.add(stf)
        db.session.commit()

        # update value of Staff object
        stf.name = 'Justin'
        staffUpdate()

        # fetch updated Staff object from the database
        stf = Staff.query.filter_by(email='*****@*****.**').first()

        # check if value of Staff object has been updated
        print('--- check if value of Staff object has been updated')
        self.assertEqual('Justin', stf.name)