Mercurial > hg > config
comparison .emacs @ 359:07d01606da84
add a macro for mozbase tests
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Tue, 02 Jul 2013 09:48:45 -0700 |
parents | 6004e00b602d |
children | ad10f719d160 |
comparison
equal
deleted
inserted
replaced
358:0e270a448610 | 359:07d01606da84 |
---|---|
162 | 162 |
163 if __name__ == '__main__': | 163 if __name__ == '__main__': |
164 main()") | 164 main()") |
165 ;; TODO: take directly from MakeItSo | 165 ;; TODO: take directly from MakeItSo |
166 | 166 |
167 (fset 'mozbase-test "#!/usr/bin/env python | |
168 | |
169 # This Source Code Form is subject to the terms of the Mozilla Public | |
170 # License, v. 2.0. If a copy of the MPL was not distributed with this file, | |
171 # You can obtain one at http://mozilla.org/MPL/2.0/. | |
172 | |
173 import os | |
174 import unittest | |
175 | |
176 here = os.path.dirname(os.path.abspath(__file__)) | |
177 | |
178 class Test____(unittest.TestCase): | |
179 | |
180 if __name__ == '__main__': | |
181 unittest.main() | |
182 ") | |
183 | |
184 | |
167 ;;; TODO | 185 ;;; TODO |
168 ; - needless to say, zeitgeist integration | 186 ; - needless to say, zeitgeist integration |
169 ; - http://pedrokroger.net/2010/07/configuring-emacs-as-a-python-ide-2/ | 187 ; - http://pedrokroger.net/2010/07/configuring-emacs-as-a-python-ide-2/ |