mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 00:43:06 -06:00
DCD-224: Refactor installer role to work around various quirks.
This commit is contained in:
@@ -12,22 +12,9 @@ def test_user_created(host):
|
||||
assert user.exists
|
||||
|
||||
|
||||
@pytest.mark.parametrize('target', [
|
||||
'/opt/atlassian/product',
|
||||
'/opt/atlassian/temp',
|
||||
'/media/atl/jira/shared'
|
||||
])
|
||||
def test_dirs_created(host, target):
|
||||
d = host.file(target)
|
||||
assert d.exists
|
||||
assert d.is_directory
|
||||
assert d.user == 'testuser'
|
||||
|
||||
|
||||
@pytest.mark.parametrize('exe', [
|
||||
'/usr/bin/git',
|
||||
'/usr/bin/psql',
|
||||
'/usr/bin/javac'
|
||||
'/usr/bin/psql'
|
||||
])
|
||||
def test_package_exes(host, exe):
|
||||
assert host.file(exe).exists
|
||||
|
||||
Reference in New Issue
Block a user