debian-mirror-gitlab/spec/factories/packages/pypi/metadata.rb

9 lines
234 B
Ruby
Raw Normal View History

2021-11-18 22:05:49 +05:30
# frozen_string_literal: true
FactoryBot.define do
factory :pypi_metadatum, class: 'Packages::Pypi::Metadatum' do
package { association(:pypi_package, without_loaded_metadatum: true) }
required_python { '>=2.7' }
end
end