mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
god these tests are the worst
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
@@ -10,17 +10,6 @@ class TestUtils:
|
||||
|
||||
"""Test utility functions in pipenv"""
|
||||
|
||||
def test_format_toml(self):
|
||||
"""Verify that two return characters are used between each section"""
|
||||
data = ('[[source]]\nurl = "https://pypi.org/simple"\n[dev-packages]\n'
|
||||
'pytest="*"\nsphinx = "*"\n[packages]\nclick ="*"\ncrayons = "*"')
|
||||
|
||||
expected = ('[[source]]\nurl = "https://pypi.org/simple"\n\n'
|
||||
'[dev-packages]\npytest="*"\nsphinx = "*"\n\n'
|
||||
'[packages]\nclick ="*"\ncrayons = "*"')
|
||||
|
||||
assert pipenv.utils.format_toml(data) == expected
|
||||
|
||||
def test_convert_deps_to_pip(self):
|
||||
|
||||
# requests = '*'
|
||||
|
||||
Reference in New Issue
Block a user