Ensure that Drupal settings files are present
This commit is contained in:
parent
dbbb8b225f
commit
a11d7b65b7
3 changed files with 14 additions and 0 deletions
molecule/default/tests
|
@ -10,3 +10,9 @@ def test_drupal_site_directory_exists(host):
|
|||
|
||||
assert directory.exists
|
||||
assert directory.is_directory
|
||||
|
||||
def test_drupal_settings_file_exists(host):
|
||||
file = host.file('/var/www/test/sites/default/settings.php')
|
||||
|
||||
assert file.exists
|
||||
assert file.is_file
|
||||
|
|
Reference in a new issue