diff options
Diffstat (limited to 'uitest/uitest/debug.py')
-rw-r--r-- | uitest/uitest/debug.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/uitest/uitest/debug.py b/uitest/uitest/debug.py new file mode 100644 index 000000000000..8af6d8af9e7a --- /dev/null +++ b/uitest/uitest/debug.py @@ -0,0 +1,16 @@ +# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# + +import uitest.config + +import time + +def sleep(seconds): + if uitest.config.use_sleep: + time.sleep(seconds) + +# vim:set shiftwidth=4 softtabstop=4 expandtab: */ |