diff --git a/test/fixtures/pipenv-full-version/Pipfile b/test/fixtures/pipenv-full-version/Pipfile new file mode 100644 index 0000000000000000000000000000000000000000..56194d02e060ebc80c4fae6d6a5b85717cb5ed1a --- /dev/null +++ b/test/fixtures/pipenv-full-version/Pipfile @@ -0,0 +1,9 @@ +[[source]] +url = "https://pypi.python.org/simple" +verify_ssl = true + +[packages] +requests = "*" + +[requires] +python_full_version = "3.6.2" \ No newline at end of file diff --git a/test/fixtures/pipenv-full-version/Pipfile.lock b/test/fixtures/pipenv-full-version/Pipfile.lock new file mode 100644 index 0000000000000000000000000000000000000000..15f40775d714c632441a5f8ce8e0876098618f35 --- /dev/null +++ b/test/fixtures/pipenv-full-version/Pipfile.lock @@ -0,0 +1,23 @@ +{ + "default": { + "requests": { + "version": "==2.13.0", + "hash": "sha256:1a720e8862a41aa22e339373b526f508ef0c8988baf48b84d3fc891a8e237efb" + } + }, + "develop": {}, + "_meta": { + "sources": [ + { + "url": "https://pypi.python.org/simple", + "verify_ssl": true + } + ], + "requires": { + "python_version": "3.6" + }, + "hash": { + "sha256": "5866990104fc8f27d13cdf01abc2a32c553129e03f666316cacc5b42d3e0884e" + } + } +} \ No newline at end of file diff --git a/test/fixtures/python2/runtime.txt b/test/fixtures/python2/runtime.txt index ba85ab9742df213599b929d6e0ac9b4f408f6c28..2ce112e3253c6999f1c58a59742c73ca95178cff 100644 --- a/test/fixtures/python2/runtime.txt +++ b/test/fixtures/python2/runtime.txt @@ -1 +1 @@ -python-2.7.13 \ No newline at end of file +python-2.7.14 \ No newline at end of file diff --git a/test/run b/test/run index faec575523e3041e5213a1618d2dc2813313099f..b5c0d3490a4a7b0e92f93715f3837ab81fffbcbb 100755 --- a/test/run +++ b/test/run @@ -11,6 +11,12 @@ testPipenvVersion() { assertCapturedSuccess } +testPipenvFullVersion() { + compile "pipenv-full-version" + assertCaptured "3.6.2" + assertCapturedSuccess +} + testNoRequirements() { compile "no-requirements" assertCapturedError @@ -61,7 +67,7 @@ testPylibmc() { testPython2() { compile "python2" - assertCaptured "python-2.7.13" + assertCaptured "python-2.7.14" assertCapturedSuccess }