~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to wlimages/utest/test_model.py

  • Committer: Holger Rapp
  • Date: 2009-02-21 18:24:02 UTC
  • Revision ID: sirver@kallisto.local-20090221182402-k3tuf5c4gjwslbjf
Main Page contains now the same informations as before

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/env python -tt
2
 
# encoding: utf-8
3
 
#
4
 
# File: utests/test_wl_markdown.py
5
 
#
6
 
# Created by Holger Rapp on 2009-02-28.
7
 
# Copyright (c) 2009 HolgerRapp@gmx.net. All rights reserved.
8
 
#
9
 
# Last Modified: $Date$
10
 
#
11
 
 
12
 
# Since we want to include something from one path up,
13
 
# we append the parent path to sys.path
14
 
import sys
15
 
sys.path.append('..')
16
 
 
17
 
import unittest
18
 
 
19
 
from models import Image
20
 
 
21
 
 
22
 
class TestImages_TestUploading_ExceptCorrectResult(unittest.TestCase):
23
 
 
24
 
    def runTest(self):
25
 
        self.assertEqual(1, 1)
26
 
 
27
 
 
28
 
if __name__ == '__main__':
29
 
    unittest.main()
30
 
    # k = TestWlMarkdown_WikiWordsInLink_ExceptCorrectResult()
31
 
    # unittest.TextTestRunner().run(k)