Skip to content
Snippets Groups Projects
Commit d30f5c41 authored by Wojciech Barcik's avatar Wojciech Barcik Committed by Bartek Wrona
Browse files

Change shebang to "#!/usr/bin/env python3" in python shell scripts. Fix #103

parent 06826c9d
No related branches found
No related tags found
1 merge request!456Release candidate v1 24
Showing with 15 additions and 16 deletions
......@@ -3,7 +3,6 @@ stages:
- data-supply
- e2e-test
variables:
PGPASSWORD: $HIVEMIND_POSTGRES_PASSWORD
......
#!/usr/bin/env python
#!/usr/bin/env python3
"""CLI service router"""
......
#!/usr/local/bin/python3
#!/usr/bin/env python3
"""Hive profiling tools"""
import cProfile
......
#!/usr/bin/python3
#!/usr/bin/env python3
from json import dumps
......
#!/usr/bin/python3
#!/usr/bin/env python3
""" Parse json file generated by pytest benchmarks and create htm report file
for files exceeding expected threshold print information to the console
"""
......
#!/usr/bin/python3
#!/usr/bin/env python3
import os
import subprocess
from json import load, dump
......@@ -60,7 +60,7 @@ if __name__ == "__main__":
hivemind_url = "http://{}:{}".format(args.hivemind_address, args.hivemind_port)
test_directories = get_test_directories(args.tests_root_dir)
benchmarks_files = []
for test_directory in test_directories:
benchmark_file_name = "benchmark_" + test_directory.split("/")[-1] + ".py"
......
#!/usr/bin/python3
#!/usr/bin/env python3
"""
This script will scan blocks from range `from_block` to `to_block` if it finds operation defined in `operations` it will
save such block to a `output_file`. Blocks not containing any operations from list `operations` will be saved empty.
......
#!/usr/bin/python3
#!/usr/bin/env python3
import os
from xml.dom import minidom
......
#!/usr/bin/python3
#!/usr/bin/env python3
from test_base import run_test
......
#!/usr/bin/python3
#!/usr/bin/env python3
from test_base import run_test
if __name__ == '__main__':
......
#!/usr/bin/python3
#!/usr/bin/env python3
from test_base import run_test
if __name__ == '__main__':
......
#!/usr/bin/python3
#!/usr/bin/env python3
from test_base import run_test
if __name__ == '__main__':
......
#!/usr/bin/python3
#!/usr/bin/env python3
from test_base import run_test
if __name__ == '__main__':
......@@ -6,7 +6,7 @@ if __name__ == '__main__':
test_hive_node_url = 'http://127.0.0.1:8080'
payload = {
"jsonrpc" : "2.0",
"jsonrpc" : "2.0",
"method" : "database_api.list_comments",
"params" : {
"start" : ['steemit', 'firstpost', '', ''],
......
#!/usr/bin/python3
#!/usr/bin/env python3
from test_base import run_test
if __name__ == '__main__':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment