• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1"""Tests that run all fixer modules over an input stream.
2
3This has been broken out into its own test module because of its
4running time.
5"""
6# Author: Collin Winter
7
8# Python imports
9import unittest
10
11# Local imports
12from lib2to3 import refactor
13from . import support
14
15
16class Test_all(support.TestCase):
17
18    def setUp(self):
19        self.refactor = support.get_refactorer()
20
21    def test_all_project_files(self):
22        for filepath in support.all_project_files():
23            self.refactor.refactor_file(filepath)
24