<s> import pytest <EOL> from mock import patch <EOL> from pip . vcs . subversion import Subversion <EOL> @ patch ( '<STR_LIT>' ) <EOL> @ pytest . mark . network <EOL> def test_obtain_should_recognize_auth_info_url ( call_subprocess_mock , script ) : <EOL> svn = Subversion ( url = '<STR_LIT>' ) <EOL> svn . obtain ( script . scratch_path / '<STR_LIT:test>' ) <EOL> assert call_subprocess_mock . call_args [ <NUM_LIT:0> ] [ <NUM_LIT:0> ] == [ <EOL> svn . name , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT:username>' , '<STR_LIT>' , <EOL> '<STR_LIT:password>' , '<STR_LIT>' , <EOL> script . scratch_path / '<STR_LIT:test>' , <EOL> ] <EOL> @ patch ( '<STR_LIT>' ) <EOL> @ pytest . mark . network <EOL> def test_export_should_recognize_auth_info_url ( call_subprocess_mock , script ) : <EOL> svn = Subversion ( url = '<STR_LIT>' ) <EOL> svn . export ( script . scratch_path / '<STR_LIT:test>' ) <EOL> assert call_subprocess_mock . call_args [ <NUM_LIT:0> ] [ <NUM_LIT:0> ] == [ <EOL> svn . name , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT:username>' , '<STR_LIT>' , <EOL> '<STR_LIT:password>' , '<STR_LIT>' , <EOL> script . scratch_path / '<STR_LIT:test>' , <EOL> ] </s>
