def METHOD_NAME(self):
    all_versions = ["1.0.0", "1.2.0", "9.0.2", "0.2.3"]
    safe_ver_ranges = ["==1.0.0", ">1.2.0"]
    exp_safe_vers = ["1.0.0", "9.0.2"]
    exp_aff_vers = ["1.2.0", "0.2.3"]
    safe_vers, aff_vers = self.data_src.categorize_versions(all_versions, safe_ver_ranges)
    assert exp_aff_vers == aff_vers
    assert exp_safe_vers == safe_vers