'Should change working directory to specified directory.'

def test_changes_umask_to_specified_mask(self):

    args = self.test_args
    mask = self.test_mask
    expect_mock_output = ('                                                Called    os.umask(%(mask)r)\n                                                ' % vars())
    daemon.daemon.change_file_creation_mask(**args)
    self.failUnlessMockCheckerMatch(expect_mock_output)
