(self, minLen, maxLen)
| 225 | return randStr |
| 226 | |
| 227 | def _getSizes(self, minLen, maxLen): |
| 228 | if minLen is None or maxLen is None: |
| 229 | if self.sizePref == 1: |
| 230 | defaultMinLen = 1 |
| 231 | elif self.sizePref == 2: |
| 232 | defaultMinLen = 4 |
| 233 | else: |
| 234 | defaultMinLen = 8 |
| 235 | |
| 236 | defaultMaxLen = defaultMinLen * 2 |
| 237 | |
| 238 | if minLen is None: |
| 239 | minLen = defaultMinLen |
| 240 | |
| 241 | if maxLen is None: |
| 242 | maxLen = defaultMaxLen |
| 243 | |
| 244 | return (minLen, maxLen) |
no outgoing calls
no test coverage detected