Skip to content

Commit c38656d

Browse files
authored
integration: Remove test_create_check_duplicate (#3170)
integration: check_duplicate is now the default behavior moby/moby#46251 marks CheckDuplicate as deprecated. Any NetworkCreate request with a conflicting network name will now return an error. Signed-off-by: Albin Kerouanton <albinker@gmail.com>
1 parent 3783253 commit c38656d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/integration/api_network_test.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,8 +327,6 @@ def test_create_check_duplicate(self):
327327
net_name, net_id = self.create_network()
328328
with pytest.raises(docker.errors.APIError):
329329
self.client.create_network(net_name, check_duplicate=True)
330-
net_id = self.client.create_network(net_name, check_duplicate=False)
331-
self.tmp_networks.append(net_id['Id'])
332330

333331
@requires_api_version('1.22')
334332
def test_connect_with_links(self):

0 commit comments

Comments
 (0)