Skip to content

Commit

Permalink
Merge pull request #75 from equinor/sw_model_int
Browse files Browse the repository at this point in the history
Test sw_model_utilities integration
  • Loading branch information
jcrivenaes authored Mar 26, 2020
2 parents 7e5ce6f + 63cfcb2 commit 4909689
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/test_sw_model_utilities.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import pytest
import subprocess

from subscript.sw_model_utilities import sw_model_utilities as swtool

Expand All @@ -18,3 +20,9 @@ def test_autoconvert():
num = swtool.autoformat(0.000000343432)

assert str(num) == "3.4343e-07"


@pytest.mark.integration
def test_integration():
"""Test that the endpoint is installed"""
assert subprocess.check_output(["sw_model_utilities", "-h"])

0 comments on commit 4909689

Please sign in to comment.