From 65b9e182bc91f2d62b78ca5c8babc532195f79d8 Mon Sep 17 00:00:00 2001 From: Jeff Parr Date: Sun, 8 Jul 2018 12:00:13 -0700 Subject: [PATCH] Use consistent virtualenv call --- docs/installing.rst | 8 ++++---- docs/quickstart.rst | 2 +- tests/test_case_lib.py | 2 -- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/docs/installing.rst b/docs/installing.rst index 4f0cdfc..1005a42 100644 --- a/docs/installing.rst +++ b/docs/installing.rst @@ -12,7 +12,7 @@ Installing from PyPi ******************** .. code-block:: bash - $ virtualenv env -p python3 + $ python3 -m virtualenv env $ source/env/bin/activate $ pip install aws_ir $ aws_ir -h @@ -23,7 +23,7 @@ Installing From Github .. code-block:: bash - $ virtualenv env -p python3 + $ python3 -m virtualenv env $ source/env/bin/activate $ pip install git+ssh://git@github.com/ThreatResponse/aws_ir.git@master $ aws_ir -h @@ -35,7 +35,7 @@ Local Build and Install $ git clone https://github.com/ThreatResponse/aws_ir.git $ cd aws_ir - $ virtualenv env -p python3 + $ python3 -m virtualenv env $ source/env/bin/activate $ pip install . $ aws_ir -h @@ -49,7 +49,7 @@ In the previous two example dependencies are automatically resolved, if you simp $ git clone https://github.com/ThreatResponse/aws_ir.git $ cd aws_ir - $ virtualenv env -p python3 + $ python3 -m virtualenv env $ source/env/bin/activate $ pip install -r requirements.txt $ ./bin/aws_ir -h diff --git a/docs/quickstart.rst b/docs/quickstart.rst index 0f3d2c3..f4577b6 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -9,7 +9,7 @@ Installation .. code-block:: bash - $ virtualenv env -p python3 + $ python3 -m virtualenv env $ source/env/bin/activate $ pip install aws_ir diff --git a/tests/test_case_lib.py b/tests/test_case_lib.py index 39a05a1..43e5a8f 100644 --- a/tests/test_case_lib.py +++ b/tests/test_case_lib.py @@ -124,8 +124,6 @@ def test_rename_log_file(): base_dir=log_base ) - print(result) - assert result is True