root/galaxy-central/eggs/GeneTrack-2.0.0_beta_1_dev_48da9e998f0caf01c5be731e926f4b0481f658f0-py2.6.egg/tests/testlib/__init__.py

リビジョン 3, 0.6 KB (コミッタ: kohda, 14 年 前)

Install Unix tools  http://hannonlab.cshl.edu/galaxy_unix_tools/galaxy.html

行番号 
1"""
2Test utilities
3"""
4
5class SkipMessages(object):
6    """
7    A class that maintains the skipped messages
8    """
9    def __init__(self):
10        self.messages = []
11
12    def add(self, msg):
13        self.messages.append( msg )
14
15    def __len__(self):
16        return len(self.messages)
17
18    def __iter__(self):
19        return iter(self.messages)
20
21
22BASE_URL = 'http://127.0.0.1:8080'
23PROJECT_LIST_URL = '%s/project/list/' % BASE_URL
24
25TWILL_QUIET = True
26
27SKIP_MESSAGES = SkipMessages()
28
29from pathfix import test_dir as TEST_DIR
30from testutil import *
31from testoptions import *
Note: リポジトリブラウザについてのヘルプは TracBrowser を参照してください。