Files
Dan Dillinger
f7fdb9cf12
Implement unit_test config to disable syslog.
bug 701248 bug 819303 This change makes syslog optional, by providing a unit test config with the ability to cause test/unit/__init__.py to replace SysLogHandler with a fake logging class. The default behavior is unchanged. FakeLogger now inherits directly from Handler and mocks out its API - this was a backward-compatibility issue. Change-Id: I653dec148c4f6cf81759de03964c6a3290c1a290
26 lines
493 B
Plaintext
26 lines
493 B
Plaintext
[func_test]
# sample config
auth_host = 127.0.0.1
auth_port = 8080
auth_ssl = no
auth_prefix = /auth/
# Primary functional test account (needs admin access to the account)
account = test
username = tester
password = testing
# User on a second account (needs admin access to the account)
account2 = test2
username2 = tester2
password2 = testing2
# User on same account as first, but without admin access
username3 = tester3
password3 = testing3
collate = C
[unit_test]
fake_syslog = False