@@ -81,7 +81,7 @@ def pytest_addoption(parser):
81
81
group .addoption (
82
82
"--cloud-python" ,
83
83
help = "python executable name to be used on the remote test nodes."
84
- "Default is the executable used on the master." , type = 'string' , action = "store" ,
84
+ "Default is the executable used on the master." , type = str , action = "store" ,
85
85
dest = 'cloud_python' , metavar = "NAME" , default = 'python{0}.{1}' .format (* sys .version_info ))
86
86
group ._addoption (
87
87
'--cloud-chdir' ,
@@ -95,31 +95,31 @@ def pytest_addoption(parser):
95
95
help = "relative path on remote node to run tests in. Default is pytest_<username>_<current_folder_name>" )
96
96
group .addoption (
97
97
"--cloud-nodes" ,
98
- help = "space-separated test node list to use for distributed testing" , type = 'string' , action = NodesAction ,
98
+ help = "space-separated test node list to use for distributed testing" , type = str , action = NodesAction ,
99
99
dest = 'cloud_nodes' , metavar = "'USER@HOST" , default = [])
100
100
group .addoption (
101
101
"--cloud-node" ,
102
- help = "test node to use for distributed testing" , type = 'string' , action = "append" ,
102
+ help = "test node to use for distributed testing" , type = str , action = "append" ,
103
103
dest = 'cloud_nodes' , metavar = "USER@HOST" , default = [])
104
104
group .addoption (
105
105
"--cloud-virtualenv-path" ,
106
- help = "relative path to the virtualenv to be used on the remote test nodes." , type = 'string' , action = "store" ,
106
+ help = "relative path to the virtualenv to be used on the remote test nodes." , type = str , action = "store" ,
107
107
dest = 'cloud_virtualenv_path' , metavar = "PATH" , default = get_virtualenv_path ())
108
108
group .addoption (
109
109
"--cloud-mem-per-process" ,
110
- help = "amount of memory roughly needed for test process, in megabytes" , type = ' int' , action = "store" ,
110
+ help = "amount of memory roughly needed for test process, in megabytes" , type = int , action = "store" ,
111
111
dest = 'cloud_mem_per_process' , metavar = "NUMBER" , default = None )
112
112
group .addoption (
113
113
"--cloud-max-processes" ,
114
- help = "maximum number of processes per test node" , type = ' int' , action = "store" ,
114
+ help = "maximum number of processes per test node" , type = int , action = "store" ,
115
115
dest = 'cloud_max_processes' , metavar = "NUMBER" , default = None )
116
116
group .addoption (
117
117
"--cloud-rsync-max-processes" ,
118
- help = "maximum number of rsync processes" , type = ' int' , action = "store" ,
118
+ help = "maximum number of rsync processes" , type = int , action = "store" ,
119
119
dest = 'cloud_rsync_max_processes' , metavar = "NUMBER" , default = None )
120
120
group .addoption (
121
121
"--cloud-rsync-bandwidth-limit" ,
122
- help = "maximum number of processes per test node" , type = ' int' , action = "store" ,
122
+ help = "maximum number of processes per test node" , type = int , action = "store" ,
123
123
dest = 'cloud_rsync_bandwidth_limit' , metavar = "NUMBER" , default = 10000 )
124
124
parser .addoption (
125
125
"--cloud-rsync-cipher" ,
0 commit comments