def test_build_folders_staging(self, root_directory):
        root = root_directory
        standard = load_repos(ospath.join(root_path, repos_path))[0]['nen3610']

        build_folders(sources_path, staging_path, standard, root, '', build_path)

        assert root.exists(ospath.join(build_path, staging_path, 'informatiemodel', 'nen3610'))
    def test_build_folders_staging(self, root_directory):
        """ Checks whether the staging folders have been built successfully"""

        root = root_directory
        standard = load_repos(ospath.join(root_path, repos_path))[0]['nen3610']

        build_folders(sources_path, staging_path, standard, root, '', build_path)

        assert root.exists(ospath.join(build_path, staging_path, 'informatiemodel', 'nen3610'))
    def test_build_folders_staging(self, root_directory):
        root = root_directory
        standard = load_repos(ospath.join(root_path, repos_path))[0]['nen3610']

        build_folders(sources_path, staging_path, standard, root, '',
                      build_path)

        assert root.exists(
            ospath.join(build_path, staging_path, 'informatiemodel',
                        'nen3610'))