def test_save_settings(tmpdir): static_viewer.save_settings(tmpdir) f = tmpdir.join('/settings.json') assert f.check(file=1)