p4cmd 2.9.1__tar.gz → 2.9.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {p4cmd-2.9.1 → p4cmd-2.9.2}/PKG-INFO +1 -1
- {p4cmd-2.9.1 → p4cmd-2.9.2}/p4cmd/__init__.py +1 -1
- {p4cmd-2.9.1 → p4cmd-2.9.2}/p4cmd/p4cmd.py +2 -0
- {p4cmd-2.9.1 → p4cmd-2.9.2}/p4cmd.egg-info/PKG-INFO +1 -1
- {p4cmd-2.9.1 → p4cmd-2.9.2}/tests/test_p4client.py +4 -0
- {p4cmd-2.9.1 → p4cmd-2.9.2}/LICENSE +0 -0
- {p4cmd-2.9.1 → p4cmd-2.9.2}/README.md +0 -0
- {p4cmd-2.9.1 → p4cmd-2.9.2}/p4cmd/p4errors.py +0 -0
- {p4cmd-2.9.1 → p4cmd-2.9.2}/p4cmd/p4file.py +0 -0
- {p4cmd-2.9.1 → p4cmd-2.9.2}/p4cmd/resources/__init__.py +0 -0
- {p4cmd-2.9.1 → p4cmd-2.9.2}/p4cmd/resources/perforce_DEPOT_ONLY.png +0 -0
- {p4cmd-2.9.1 → p4cmd-2.9.2}/p4cmd/resources/perforce_MOVED.png +0 -0
- {p4cmd-2.9.1 → p4cmd-2.9.2}/p4cmd/resources/perforce_NEED_SYNC.png +0 -0
- {p4cmd-2.9.1 → p4cmd-2.9.2}/p4cmd/resources/perforce_OPEN_FOR_ADD.png +0 -0
- {p4cmd-2.9.1 → p4cmd-2.9.2}/p4cmd/resources/perforce_OPEN_FOR_DELETE.png +0 -0
- {p4cmd-2.9.1 → p4cmd-2.9.2}/p4cmd/resources/perforce_OPEN_FOR_EDIT.png +0 -0
- {p4cmd-2.9.1 → p4cmd-2.9.2}/p4cmd/resources/perforce_UNKNOWN.png +0 -0
- {p4cmd-2.9.1 → p4cmd-2.9.2}/p4cmd/resources/perforce_UNTRACKED.png +0 -0
- {p4cmd-2.9.1 → p4cmd-2.9.2}/p4cmd/resources/perforce_UP_TO_DATE.png +0 -0
- {p4cmd-2.9.1 → p4cmd-2.9.2}/p4cmd/utils.py +0 -0
- {p4cmd-2.9.1 → p4cmd-2.9.2}/p4cmd.egg-info/SOURCES.txt +0 -0
- {p4cmd-2.9.1 → p4cmd-2.9.2}/p4cmd.egg-info/dependency_links.txt +0 -0
- {p4cmd-2.9.1 → p4cmd-2.9.2}/p4cmd.egg-info/requires.txt +0 -0
- {p4cmd-2.9.1 → p4cmd-2.9.2}/p4cmd.egg-info/top_level.txt +0 -0
- {p4cmd-2.9.1 → p4cmd-2.9.2}/setup.cfg +0 -0
- {p4cmd-2.9.1 → p4cmd-2.9.2}/setup.py +0 -0
- {p4cmd-2.9.1 → p4cmd-2.9.2}/tests/__init__.py +0 -0
- {p4cmd-2.9.1 → p4cmd-2.9.2}/tests/conftest.py +0 -0
- {p4cmd-2.9.1 → p4cmd-2.9.2}/tests/test_integration.py +0 -0
- {p4cmd-2.9.1 → p4cmd-2.9.2}/tests/test_p4file.py +0 -0
- {p4cmd-2.9.1 → p4cmd-2.9.2}/tests/test_utils.py +0 -0
|
@@ -109,6 +109,10 @@ def test_ensure_changelist_float(p4client):
|
|
|
109
109
|
assert p4client._P4Client__ensure_changelist(1.5) == 1
|
|
110
110
|
|
|
111
111
|
|
|
112
|
+
def test_ensure_changelist_none(p4client):
|
|
113
|
+
assert p4client._P4Client__ensure_changelist(None) == "default"
|
|
114
|
+
|
|
115
|
+
|
|
112
116
|
def test_ensure_changelist_default_str(p4client):
|
|
113
117
|
# "default" triggers get_or_make_changelist which returns "default"
|
|
114
118
|
with patch.object(p4client, "get_or_make_changelist", return_value="default") as mock_gomc:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|