MCPcopy Index your code
hub / github.com/docker/docker-py / test_format_env_no_value

Method test_format_env_no_value

tests/unit/utils_test.py:639–644  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

637 assert format_environment(env_dict) == ['ARTIST_NAME=송지은']
638
639 def test_format_env_no_value(self):
640 env_dict = {
641 'FOO': None,
642 'BAR': '',
643 }
644 assert sorted(format_environment(env_dict)) == ['BAR=', 'FOO']
645
646
647def test_compare_versions():

Callers

nothing calls this directly

Calls 1

format_environmentFunction · 0.90

Tested by

no test coverage detected