Skip to content

Commit 6ebac16

Browse files
committed
Update no lockfile test assertions
1 parent 8649620 commit 6ebac16

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

spec/hatchet/pipenv_spec.rb

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,21 +41,23 @@
4141

4242
it 'builds with the default Python version using just the Pipfile' do
4343
app.deploy do |app|
44-
expect(clean_output(app.output)).to include(<<~OUTPUT)
44+
expect(clean_output(app.output)).to match(Regexp.new(<<~REGEX, Regexp::MULTILINE))
4545
remote: -----> Python app detected
4646
remote: ! No 'Pipfile.lock' found! We recommend you commit this into your repository.
4747
remote: -----> No Python version was specified. Using the buildpack default: python-#{DEFAULT_PYTHON_VERSION}
4848
remote: To use a different version, see: https://devcenter.heroku.com/articles/python-runtimes
4949
remote: -----> Installing python-#{DEFAULT_PYTHON_VERSION}
5050
remote: -----> Installing pip #{PIP_VERSION}, setuptools #{SETUPTOOLS_VERSION} and wheel #{WHEEL_VERSION}
5151
remote: -----> Installing dependencies with Pipenv #{PIPENV_VERSION}
52-
remote: The flag --skip-lock has been reintroduced (but is not recommended). Without
52+
remote: The flag --skip-lock has been reintroduced \\(but is not recommended\\). Without
5353
remote: the lock resolver it is difficult to manage multiple package indexes, and hash
5454
remote: checking is not provided. However it can help manage installs with current
5555
remote: deficiencies in locking across platforms.
56+
remote: Pipfile.lock not found, creating...
57+
.+
5658
remote: Installing dependencies from Pipfile...
5759
remote: -----> Installing SQLite3
58-
OUTPUT
60+
REGEX
5961
end
6062
end
6163
end

0 commit comments

Comments
 (0)