1import pytest 2 3 4# integration tests requires nomad Vagrant VM or Binary running 5def test_initiate_garbage_collection(nomad_setup): 6 nomad_setup.system.initiate_garbage_collection() 7 8 9def test_dunder_str(nomad_setup): 10 assert isinstance(str(nomad_setup.system), str) 11 12 13def test_dunder_repr(nomad_setup): 14 assert isinstance(repr(nomad_setup.system), str) 15 16 17def test_dunder_getattr(nomad_setup): 18 19 with pytest.raises(AttributeError): 20 d = nomad_setup.system.does_not_exist 21