10 Commits

Author SHA1 Message Date
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
2012-05-03 14:25:46 -04:00
Ewan Mellor
3373382284 Bug #820185: Intermittent TypeError NoneType in atexit handler of unit tests
Work around what appears to be a Python standard library bug by silencing
exceptions in the logging library.
2011-08-02 22:55:13 -07:00
Clay Gerrard
bdba519e02 PEP8 2011-02-24 16:21:14 -06:00
Clay Gerrard
92a5414f25 went ahead and spoofed a [func_test] section 2011-02-24 12:28:17 -06:00
Clay Gerrard
c1b3c8d799 better error messages on missing/malformed configs 2011-02-24 11:59:34 -06:00
Clay Gerrard
49ea0201f7 made functionalnosetests works with no account usernames 2011-02-23 11:29:06 -06:00
Clay Gerrard
a9201fc379 i need to pull in the changes to functionalnosetest/swift_testing.py 2011-02-22 22:25:38 -06:00
Clay Gerrard
d1fa1a0040 made functional tests more configurable
SWIFT_TEST_CONFIG_FILE can redirect both functional test suites to any conf
functional tests that don't require a account:username can now work with only
username for auth systems that don't support the account/namespace concept
2011-02-22 18:00:11 -06:00
Michael Barton
24590669d8 i18n finishup 2010-12-22 16:36:31 +00:00
Chuck Thier
001407b969 Initial commit of Swift code 2010-07-12 17:03:45 -05:00