Back to index

python3.2  3.2.2
Public Member Functions
test.test_syslog.Test Class Reference

List of all members.

Public Member Functions

def test_openlog
def test_syslog
def test_closelog
def test_setlogmask
def test_log_mask
def test_log_upto

Detailed Description

Definition at line 10 of file test_syslog.py.


Member Function Documentation

Definition at line 22 of file test_syslog.py.

00022 
00023     def test_closelog(self):
00024         syslog.openlog('python')
00025         syslog.closelog()

Definition at line 29 of file test_syslog.py.

00029 
00030     def test_log_mask(self):
00031         syslog.LOG_MASK(syslog.LOG_INFO)

Definition at line 32 of file test_syslog.py.

00032 
00033     def test_log_upto(self):
00034         syslog.LOG_UPTO(syslog.LOG_INFO)

Definition at line 12 of file test_syslog.py.

00012 
00013     def test_openlog(self):
00014         syslog.openlog('python')
00015         # Issue #6697.
00016         self.assertRaises(UnicodeEncodeError, syslog.openlog, '\uD800')

Here is the call graph for this function:

Definition at line 26 of file test_syslog.py.

00026 
00027     def test_setlogmask(self):
00028         syslog.setlogmask(syslog.LOG_DEBUG)

Definition at line 17 of file test_syslog.py.

00017 
00018     def test_syslog(self):
00019         syslog.openlog('python')
00020         syslog.syslog('test message from python test_syslog')
00021         syslog.syslog(syslog.LOG_ERR, 'test error from python test_syslog')


The documentation for this class was generated from the following file: