This repository has been archived by the owner on Feb 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
200 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,11 @@ | ||
"""Test Cassandra feature tests.""" | ||
|
||
from pytest_bdd import scenario | ||
import testinfra_bdd | ||
from pytest_bdd import scenarios | ||
|
||
# Ensure that the PyTest fixtures provided in testinfra-bdd are available to | ||
# your test suite. | ||
pytest_plugins = ['testinfra_bdd'] | ||
|
||
|
||
@scenario('../features/cassandra.feature', 'Check that a File Contains an Expected String') | ||
def test_check_that_a_file_contains_an_expected_string(): | ||
"""Check that a File Contains an Expected String.""" | ||
|
||
|
||
@scenario('../features/cassandra.feature', 'Check that a file exists and matches an expected type') | ||
def test_check_that_a_file_exists_and_matches_an_expected_type(): | ||
"""Check that a file exists and matches an expected type.""" | ||
scenarios('../features/cassandra.feature') | ||
|
||
|
||
@scenario('../features/cassandra.feature', 'Check the Cassandra Service and Package') | ||
def test_check_the_cassandra_service_and_package(): | ||
"""Check the Cassandra Service and Package.""" | ||
|
||
|
||
@scenario('../features/cassandra.feature', 'Custom Directories') | ||
def test_custom_directories(): | ||
"""Custom Directories.""" | ||
|
||
|
||
@scenario('../features/cassandra.feature', 'Run the nodetool command') | ||
def test_run_the_nodetool_command(): | ||
"""Run the nodetool command.""" | ||
# Ensure that the PyTest fixtures provided in testinfra-bdd are available to | ||
# your test suite. | ||
pytest_plugins = testinfra_bdd.PYTEST_MODULES |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.