def test_get_first(zipfile, tmpdir): """Test unzipping of xml files using zipfile and tmpdir fixtures.""" assert get_first([]) is None assert get_first([1]) == 1 assert get_first([], 2) == 2