summaryrefslogtreecommitdiff
path: root/spec/integration/python/pipenv_spec.rb
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-10-05 15:01:56 -0600
committermo khan <mo.khan@gmail.com>2020-10-05 15:01:56 -0600
commitea3481fdb3bc94ce882f045d42ae9984548fc0e5 (patch)
treeaf3d60cd146203f4cc8d04f9a7883ef81f34f836 /spec/integration/python/pipenv_spec.rb
parent1d91e5ad64ec4a28906a883692ed70154673df37 (diff)
test: add spec for python 3.4 project
Diffstat (limited to 'spec/integration/python/pipenv_spec.rb')
-rw-r--r--spec/integration/python/pipenv_spec.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/spec/integration/python/pipenv_spec.rb b/spec/integration/python/pipenv_spec.rb
index b7847fd..f13bd31 100644
--- a/spec/integration/python/pipenv_spec.rb
+++ b/spec/integration/python/pipenv_spec.rb
@@ -239,4 +239,16 @@ RSpec.describe "pipenv" do
expect(subject.dependency_names).to match_array(%w[Django docutils pytz requests])
end
end
+
+ context "when scanning a Python 3.4 project" do
+ before do
+ runner.mount(dir: fixture_file('python/pipenv/python-3.4/'))
+ end
+
+ specify do
+ expect(subject).to match_schema
+ expect(subject.dependency_names).to match_array(%w[docutils])
+ expect(subject.licenses_for('docutils')).to match_array(['public domain, python, 2-clause bsd, gpl 3 (see copying.txt)'])
+ end
+ end
end