create some urls, some may fail
()
| 12 | from module.remote.thriftbackend.ThriftClient import ThriftClient, Destination |
| 13 | |
| 14 | def createURLs(): |
| 15 | """ create some urls, some may fail """ |
| 16 | urls = [] |
| 17 | for x in range(0, randint(20, 100)): |
| 18 | name = "DEBUG_API" |
| 19 | if randint(0, 5) == 5: |
| 20 | name = "" #this link will fail |
| 21 | |
| 22 | urls.append(name + "".join(sample(string.ascii_letters, randint(10, 20)))) |
| 23 | |
| 24 | return urls |
| 25 | |
| 26 | AVOID = (0,3,8) |
| 27 |
no test coverage detected