Skip to content

Commit e152be5

Browse files
author
Emmanouil Konstantinidis
committed
Fix tests
1 parent 219fa7d commit e152be5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

runtests.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
#!/usr/bin/env python
2-
import os
32
import sys
43
import subprocess
54

65

7-
FLAKE8_ARGS = ['drfdocs', '--ignore=E501']
6+
FLAKE8_ARGS = ['rest_framework_docs', '--ignore=E501']
7+
88

99
def exit_on_failure(command, message=None):
1010
if command:
1111
sys.exit(command)
1212

13+
1314
def flake8_main(args):
14-
print('Running: flake8', *FLAKE8_ARGS, sep=' ')
15+
print('Running: flake8', FLAKE8_ARGS)
1516
command = subprocess.call(['flake8'] + args)
1617
print("" if command else "Success. flake8 passed.")
1718
return command

0 commit comments

Comments
 (0)