Back to index

python3.2  3.2.2
Classes | Functions | Variables
test.test_winreg Namespace Reference

Classes

class  BaseWinregTests
class  LocalWinregTests
class  RemoteWinregTests
class  Win64WinregTests

Functions

def test_main

Variables

tuple threading = support.import_module("threading")
list REMOTE_NAME = sys.argv[sys.argv.index("--remote")+1]
tuple WIN_VER = sys.getwindowsversion()
tuple WIN64_MACHINE = Trueifmachine()
tuple HAS_REFLECTION = TrueifWIN_VER<(6, 1)
string test_key_name = "SOFTWARE\\Python Registry Test Key - Delete Me"
string test_reflect_key_name = "SOFTWARE\\Classes\\Python Test Key - Delete Me"
list test_data

Function Documentation

Definition at line 423 of file test_winreg.py.

00423 
00424 def test_main():
00425     support.run_unittest(LocalWinregTests, RemoteWinregTests,
00426                          Win64WinregTests)


Variable Documentation

tuple test.test_winreg.HAS_REFLECTION = TrueifWIN_VER<(6, 1)

Definition at line 29 of file test_winreg.py.

Definition at line 16 of file test_winreg.py.

Initial value:
00001 [
00002     ("Int Value",     45,                                      REG_DWORD),
00003     ("String Val",    "A string value",                        REG_SZ),
00004     ("StringExpand",  "The path is %path%",                    REG_EXPAND_SZ),
00005     ("Multi-string",  ["Lots", "of", "string", "values"],      REG_MULTI_SZ),
00006     ("Raw Data",      b"binary\x00data",                       REG_BINARY),
00007     ("Big String",    "x"*(2**14-1),                           REG_SZ),
00008     ("Big Binary",    b"x"*(2**14),                            REG_BINARY),
00009     # Two and three kanjis, meaning: "Japan" and "Japanese")
00010     ("Japanese 日本", "日本語", REG_SZ),
00011 ]

Definition at line 35 of file test_winreg.py.

string test.test_winreg.test_key_name = "SOFTWARE\\Python Registry Test Key - Delete Me"

Definition at line 31 of file test_winreg.py.

string test.test_winreg.test_reflect_key_name = "SOFTWARE\\Classes\\Python Test Key - Delete Me"

Definition at line 33 of file test_winreg.py.

Definition at line 7 of file test_winreg.py.

tuple test.test_winreg.WIN64_MACHINE = Trueifmachine()

Definition at line 23 of file test_winreg.py.

tuple test.test_winreg.WIN_VER = sys.getwindowsversion()

Definition at line 21 of file test_winreg.py.