# HG changeset patch # User Jeff Hammel # Date 1372783725 25200 # Node ID 07d01606da84698299ad54b4635fd378d9902bcc # Parent 0e270a448610403c72db7039e074314f00d7871e add a macro for mozbase tests diff -r 0e270a448610 -r 07d01606da84 .emacs --- a/.emacs Mon Jul 01 21:41:23 2013 -0700 +++ b/.emacs Tue Jul 02 09:48:45 2013 -0700 @@ -164,6 +164,24 @@ main()") ;; TODO: take directly from MakeItSo +(fset 'mozbase-test "#!/usr/bin/env python + +# 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 os +import unittest + +here = os.path.dirname(os.path.abspath(__file__)) + +class Test____(unittest.TestCase): + +if __name__ == '__main__': + unittest.main() +") + + ;;; TODO ; - needless to say, zeitgeist integration -; - http://pedrokroger.net/2010/07/configuring-emacs-as-a-python-ide-2/ \ No newline at end of file +; - http://pedrokroger.net/2010/07/configuring-emacs-as-a-python-ide-2/