コード例 #1
0
    def handle_all(self, **options):
        scan_translation_projects(languages=self.languages,
                                  projects=self.projects)

        super(Command, self).handle_all(**options)

        clear_language_list_cache()
コード例 #2
0
    def setUp(self):
        self._setup_test_podir()
        self._setup_test_files()
        #FIXME: replace initdb with a fixture
        call_command('initdb')

        self._setup_test_users()
        scan_translation_projects()
コード例 #3
0
ファイル: tests.py プロジェクト: NEOatNHNG/pootle
    def setUp(self):
        self._setup_test_podir()
        self._setup_test_files()
        #FIXME: replace initdb with a fixture
        call_command('initdb')

        self._setup_test_users()
        scan_translation_projects()
コード例 #4
0
ファイル: update_stores.py プロジェクト: gitter-badger/pootle
    def handle_all(self, **options):
        scan_translation_projects(languages=self.languages,
                                  projects=self.projects)

        super(Command, self).handle_all(**options)