51Degrees Pipeline for Python

tests.test_datafile_update_http Namespace Reference

Classes

class  FakeEngine
class  HttpDataFile
class  FileDataFile
class  UpdateServiceTestCase
class  IfModifiedSinceTests
class  UpdateExpectedTimeTests
class  UpdateFromMemoryTests
class  LoggingTests
class  FileReplacementTests
class  DownloadedFileTests
class  ReportingEachCheckTests
class  CallbackTests
class  LicenceKeyTests
class  ContentTests

Functions

 response (status, content=b"new")

Variables

str URL = "https://example.com/update"
str KEY = "ABCDEFGHIJKL"
str KEYED_URL = "https://example.com/update?licenseKeys=" + KEY + "&Type=HashV41"
tuple MASKED_URL
str CHECK_ERROR = "Error during check for data update. Error detail: "

Function Documentation

◆ response()

response ( status,
content = b"new" )

Variable Documentation

◆ CHECK_ERROR

str tests.test_datafile_update_http.CHECK_ERROR = "Error during check for data update. Error detail: "

◆ KEY

str tests.test_datafile_update_http.KEY = "ABCDEFGHIJKL"

◆ KEYED_URL

str tests.test_datafile_update_http.KEYED_URL = "https://example.com/update?licenseKeys=" + KEY + "&Type=HashV41"

◆ MASKED_URL

tuple tests.test_datafile_update_http.MASKED_URL
Initial value:
= (
"https://example.com/update?licenseKeys=********IJKL&Type=HashV41")

◆ URL

str tests.test_datafile_update_http.URL = "https://example.com/update"