def deriv(): d = Derive(name='test-0.2') d.store_path = '/nix/store/zsawgflc1fq77ijjzb1369zi6kxnc36j-test-0.2' return (d, { V('CVE-2018-0001'), V('CVE-2018-0002'), V('CVE-2018-0003', cvssv3=9.8), })
def deriv(): d = Derive(name='test-0.2', affected_by={'CVE-2018-0001', 'CVE-2018-0002', 'CVE-2018-0003'}) d.store_path = '/nix/store/zsawgflc1fq77ijjzb1369zi6kxnc36j-test-0.2' return d
def deriv(): d = Derive( name='test-0.2', affected_by={'CVE-2018-0001', 'CVE-2018-0002', 'CVE-2018-0003'}) d.store_path = '/nix/store/zsawgflc1fq77ijjzb1369zi6kxnc36j-test-0.2' return d