'Test with relative=True, cwd set, and an existing file.'

def test_file_relative_cwd(self, os_mock):

    os_mock.path.exists.return_value = True
    os_mock.path.isabs.return_value = False
    url = urlutils.fuzzy_url('foo', cwd='cwd', relative=True)
    os_mock.path.exists.assert_called_once_with('cwd/foo')
    assert (url == QUrl('file:cwd/foo'))
