From 3434972e32366d47ec3d29d2eb7a18ec558d0d67 Mon Sep 17 00:00:00 2001 From: Casey Faist <caseylfaist@gmail.com> Date: Thu, 15 Nov 2018 08:57:57 -0600 Subject: [PATCH] update hatchet expected version --- spec/hatchet/python_spec.rb | 2 +- test/fixtures/pipenv-version/Pipfile | 2 +- test/fixtures/pipenv-version2/Pipfile | 11 +++++++++++ test/fixtures/pipenv-version2/Pipfile.lock | 20 ++++++++++++++++++++ 4 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 test/fixtures/pipenv-version2/Pipfile create mode 100644 test/fixtures/pipenv-version2/Pipfile.lock diff --git a/spec/hatchet/python_spec.rb b/spec/hatchet/python_spec.rb index 5ae95ed1..39c00269 100644 --- a/spec/hatchet/python_spec.rb +++ b/spec/hatchet/python_spec.rb @@ -4,7 +4,7 @@ describe "Python!!!!!!!!!!!" do it "ðŸ" do Hatchet::Runner.new('python-getting-started', stack: DEFAULT_STACK).deploy do |app| expect(app.output).to match(/Installing pip/) - expect(app.run('python -V')).to match(/3.6.6/) + expect(app.run('python -V')).to match(/3.6.7/) end end end diff --git a/test/fixtures/pipenv-version/Pipfile b/test/fixtures/pipenv-version/Pipfile index cd4e8131..91ec2539 100644 --- a/test/fixtures/pipenv-version/Pipfile +++ b/test/fixtures/pipenv-version/Pipfile @@ -6,4 +6,4 @@ verify_ssl = true requests = "*" [requires] -python_version = "3.6" \ No newline at end of file +python_version = "3.6" diff --git a/test/fixtures/pipenv-version2/Pipfile b/test/fixtures/pipenv-version2/Pipfile new file mode 100644 index 00000000..3026dd10 --- /dev/null +++ b/test/fixtures/pipenv-version2/Pipfile @@ -0,0 +1,11 @@ +[[source]] +url = "https://pypi.org/simple" +verify_ssl = true +name = "pypi" + +[packages] + +[dev-packages] + +[requires] +python_version = "2.7" diff --git a/test/fixtures/pipenv-version2/Pipfile.lock b/test/fixtures/pipenv-version2/Pipfile.lock new file mode 100644 index 00000000..637b90ff --- /dev/null +++ b/test/fixtures/pipenv-version2/Pipfile.lock @@ -0,0 +1,20 @@ +{ + "_meta": { + "hash": { + "sha256": "ae4bdd7d4157baab65ae9d0e8389a6011e6b640995372c45ec81fa5d1ddfae9f" + }, + "pipfile-spec": 6, + "requires": { + "python_version": "2.7" + }, + "sources": [ + { + "name": "pypi", + "url": "https://pypi.org/simple", + "verify_ssl": true + } + ] + }, + "default": {}, + "develop": {} +} -- GitLab