'Should change working directory to specified directory.'

def test_changes_working_directory_to_specified_directory(self):

    args = self.test_args
    directory = self.test_directory
    expect_mock_output = ('                                                Called    os.chdir(%(directory)r)\n                                                ...\n                                                ' % vars())
    daemon.daemon.change_root_directory(**args)
    self.failUnlessMockCheckerMatch(expect_mock_output)
