tools: Move duplicate_commits.json file to tools directory.

This is a prep commit for generating /team page data
using cron job. zerver/tests directory is not present in
production installation. So moving the file from the directory
tests to tools.
This commit is contained in:
Vishnu KS 2020-04-06 19:50:41 +05:30 committed by Tim Abbott
parent 7990676583
commit abad5365fa
2 changed files with 1 additions and 2 deletions

View File

@ -22,8 +22,7 @@ import requests
import json
FIXTURE_FILE = os.path.join(os.path.dirname(__file__), '../zerver/tests/fixtures/authors.json')
duplicate_commits_file = os.path.join(os.path.dirname(__file__),
'../zerver/tests/fixtures/duplicate_commits.json')
duplicate_commits_file = os.path.join(os.path.dirname(__file__), 'duplicate_commits.json')
parser = argparse.ArgumentParser()
parser.add_argument('--max-retries', type=int, default=3,