Commit f009eb47 authored by Tanner Prestegard's avatar Tanner Prestegard

Add pytest marks to CLI integration tests

parent f0b33b86
...@@ -5,6 +5,9 @@ import shlex ...@@ -5,6 +5,9 @@ import shlex
from ligo.gracedb.cli.client import CommandLineInterface from ligo.gracedb.cli.client import CommandLineInterface
# Apply module-level marks
pytestmark = [pytest.mark.cli, pytest.mark.integration]
# Instantiated client for use with tests # Instantiated client for use with tests
CLI = CommandLineInterface() CLI = CommandLineInterface()
...@@ -32,7 +35,6 @@ def run_CLI_test(cmd): ...@@ -32,7 +35,6 @@ def run_CLI_test(cmd):
# Order of tests matters to some extent - we test operations first which are # Order of tests matters to some extent - we test operations first which are
# used to set up later operations. (Ex: we test creating a event before we # used to set up later operations. (Ex: we test creating a event before we
# use event creation in the test for getting an event) # use event creation in the test for getting an event)
def test_create_event(): def test_create_event():
"""Test creating an event with the command-line interface""" """Test creating an event with the command-line interface"""
# Set up command # Set up command
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment