fixtures

Full name: ase2sprkkr.asr.test.fixtures

Description

Module containing the implementations of all ASR pytest fixtures.

Functions

_get_webcontent([name])

asr_tmpdir(request, tmp_path_factory)

Create temp folder and change directory to that folder.

asr_tmpdir_w_params(asr_tmpdir)

Make temp dir and create a params.json with settings for fast evaluation.

duplicates_test_db(request, asr_tmpdir)

Set up a database containing only duplicates of a material.

get_webcontent()

Return a utility function that can create and return webcontent.

mockgpaw(monkeypatch)

Fixture that mocks up GPAW.

set_asr_test_environ_variable(monkeypatch)

test_material(request)

Fixture that returns an ase.Atoms object representing a std test material.