'Test language german, no english
This should symlink the translation to \'en\' even though there is no \'en\'
language in translations or project language'

def test_symlink_no_english(self):

    self.project.language = 'de'
    trans = self.project.translations.first()
    self.project.translations.remove(trans)
    self.project.save()
    self.assertNotIn(trans, self.project.translations.all())
    self.symlink.symlink_translations()
    filesystem = {'private_cname_project': {}, 'private_cname_root': {}, 'private_web_root': {'kong': {'de': {}}, 'pip': {'de': {}}}, 'public_cname_project': {}, 'public_cname_root': {}, 'public_web_root': {'kong': {'de': {'latest': {'type': 'link', 'target': 'user_builds/kong/rtd-builds/latest'}, 'master': {'type': 'link', 'target': 'user_builds/kong/rtd-builds/master'}}}, 'pip': {'de': {'latest': {'type': 'link', 'target': 'user_builds/pip/rtd-builds/latest'}, 'master': {'type': 'link', 'target': 'user_builds/pip/rtd-builds/master'}}}}}
    if (self.privacy == 'private'):
        public_root = filesystem['public_web_root'].copy()
        private_root = filesystem['private_web_root'].copy()
        filesystem['public_web_root'] = private_root
        filesystem['private_web_root'] = public_root
    self.assertFilesystem(filesystem)
