File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 19
19
from commoncode .testcase import get_test_file_pairs
20
20
from commoncode .text import python_safe_name
21
21
22
- from cluecode .copyrights import detect_copyrights
23
- from cluecode .copyrights import Detection
24
22
from scancode_config import REGEN_TEST_FIXTURES
25
23
26
24
@@ -172,11 +170,6 @@ def by_count_value(value_count):
172
170
return summarized
173
171
174
172
175
- def get_detections (test_file ):
176
- detections = detect_copyrights (test_file )
177
- return Detection .split_values (detections )
178
-
179
-
180
173
def make_copyright_test_functions (
181
174
test ,
182
175
index ,
@@ -188,6 +181,9 @@ def make_copyright_test_functions(
188
181
name. Create only a single function for multiple tests (e.g. copyrights and
189
182
holders together).
190
183
"""
184
+ from cluecode .copyrights import detect_copyrights
185
+ from cluecode .copyrights import Detection
186
+
191
187
from summarycode .copyright_tallies import tally_copyrights
192
188
from summarycode .copyright_tallies import tally_persons
193
189
You can’t perform that action at this time.
0 commit comments