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
10import test.support
11
12# Local imports
13from . import support
14
15
16@test.support.requires_resource('cpu')
17class Test_all(support.TestCase):
18
19    def setUp(self):
20        self.refactor = support.get_refactorer()
21
22    def test_all_project_files(self):
23        for filepath in support.all_project_files():
24            self.refactor.refactor_file(filepath)
25
26if __name__ == '__main__':
27    unittest.main()
28