diff --git a/docs/QUICKSTART.md b/docs/QUICKSTART.md index d56d97c262..eb3eaf893e 100644 --- a/docs/QUICKSTART.md +++ b/docs/QUICKSTART.md @@ -41,9 +41,10 @@ to the client in the `tufclient` directory. We'll create a target file that will later be delivered as an update to clients. Metadata about that file will be created and signed, and added to the -repository's metadata. +repository's metadata. ```Bash +# be in the same directory as step 1 $ echo 'Test file' > testfile $ repo.py --add testfile $ tree tufrepo/ diff --git a/tests/test_arbitrary_package_attack.py b/tests/test_arbitrary_package_attack.py index f37abef425..8c92a1ec16 100755 --- a/tests/test_arbitrary_package_attack.py +++ b/tests/test_arbitrary_package_attack.py @@ -83,9 +83,9 @@ def setUpClass(cls): command = ['python', 'simple_server.py', str(cls.SERVER_PORT)] cls.server_process = subprocess.Popen(command, stderr=subprocess.PIPE) logger.info('Server process started.') - logger.info('Server process id: '+str(cls.server_process.pid)) - logger.info('Serving on port: '+str(cls.SERVER_PORT)) - cls.url = 'http://localhost:'+str(cls.SERVER_PORT) + os.path.sep + logger.info('Server process id: ' + str(cls.server_process.pid)) + logger.info('Serving on port: ' + str(cls.SERVER_PORT)) + cls.url = 'http://localhost:' + str(cls.SERVER_PORT) + os.path.sep # NOTE: Following error is raised if a delay is not applied: # @@ -104,7 +104,7 @@ def tearDownClass(cls): # Kill the SimpleHTTPServer process. if cls.server_process.returncode is None: - logger.info('Server process '+str(cls.server_process.pid)+' terminated.') + logger.info('Server process ' + str(cls.server_process.pid) + ' terminated.') cls.server_process.kill()