From 2a7d39e995eeede2e266c5071db19597060cf038 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 14 Mar 2020 13:40:48 +0300 Subject: add missing copyright headers --- test/stress_test.py | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'test/stress_test.py') diff --git a/test/stress_test.py b/test/stress_test.py index 233a0de..3e13a10 100644 --- a/test/stress_test.py +++ b/test/stress_test.py @@ -1,3 +1,15 @@ +#!/usr/bin/env python3 + +# Copyright (c) 2019 Egor Tensin +# This file is part of the "math-server" project. +# For details, see https://github.com/egor-tensin/math-server. +# Distributed under the MIT License. + +'''This is a crappy script to feed the server with somewhat random arithmetic +expressions. +It's throwaway, hence the poor quality. +''' + import argparse import ast from contextlib import contextmanager @@ -9,10 +21,6 @@ from subprocess import PIPE import sys from timeit import default_timer -# This is a crappy script to feed the server with somewhat random arithmetic -# expressions. -# It's throwaway, hence the poor quality. - DEFAULT_CLIENT_PATH = 'client' DEFAULT_HOST = 'localhost' DEFAULT_PORT = 18000 -- cgit v1.2.3