#!/usr/bin/env python
# -*- coding: utf-8 -*-

import unittest
import sys
import logging

sys.path.append(".")
from tests import parser_tests, ruby_tests
from lib import test_runner


# Suppress log messages on stderr
logging.basicConfig(level = logging.CRITICAL)

# Define test instances: ex:
# log_load = Log_tests.TestLog('test_load')

# parser_newlines   = parser_tests.TestParser('test_cleanNewlines')
# parser_headings   = parser_tests.TestParser('test_findHeadings')
# parser_paragraphs = parser_tests.TestParser('test_parseParagraphs')
# parser_pagesplit  = parser_tests.TestParser('test_pageSplit')
# parser_parse      = parser_tests.TestParser('test_parse')

ruby_toruby = ruby_tests.TestRuby('test_toRuby')
ruby_parse  = ruby_tests.TestRuby('test_parseRubytext')
ruby_bouten = ruby_tests.TestRuby('test_bouten')
ruby_bousen = ruby_tests.TestRuby('test_bousen')

test_suite = test_runner.ModuleTestRunner()

# Add tests to test suite:
# # test_suite.addTestList("MODULE NAME", [List, of, tests])
# test_suite.addTestList("Parser", [parser_newlines,
#                                   parser_paragraphs,
#                                   parser_headings,
#                                   parser_pagesplit,
#                                   parser_parse,])

test_suite.addTestList("Ruby", [ruby_toruby,
                                ruby_parse,
                                ruby_bouten,
                                ruby_bousen,])

if __name__ == "__main__":
    # Run test suite
    test_suite.run()
df0756c94a20f5655f10a76de68f4cc7d3269d23
<mask token>

<mask token>
sys.path.append('.')
<mask token>
logging.basicConfig(level=logging.CRITICAL)
<mask token>
test_suite.addTestList('Ruby', [ruby_toruby, ruby_parse, ruby_bouten,
    ruby_bousen])
if __name__ == '__main__':
    test_suite.run()

<mask token>
sys.path.append('.')
<mask token>
logging.basicConfig(level=logging.CRITICAL)
ruby_toruby = ruby_tests.TestRuby('test_toRuby')
ruby_parse = ruby_tests.TestRuby('test_parseRubytext')
ruby_bouten = ruby_tests.TestRuby('test_bouten')
ruby_bousen = ruby_tests.TestRuby('test_bousen')
test_suite = test_runner.ModuleTestRunner()
test_suite.addTestList('Ruby', [ruby_toruby, ruby_parse, ruby_bouten,
    ruby_bousen])
if __name__ == '__main__':
    test_suite.run()

import unittest
import sys
import logging
sys.path.append('.')
from tests import parser_tests, ruby_tests
from lib import test_runner
logging.basicConfig(level=logging.CRITICAL)
ruby_toruby = ruby_tests.TestRuby('test_toRuby')
ruby_parse = ruby_tests.TestRuby('test_parseRubytext')
ruby_bouten = ruby_tests.TestRuby('test_bouten')
ruby_bousen = ruby_tests.TestRuby('test_bousen')
test_suite = test_runner.ModuleTestRunner()
test_suite.addTestList('Ruby', [ruby_toruby, ruby_parse, ruby_bouten,
    ruby_bousen])
if __name__ == '__main__':
    test_suite.run()

#!/usr/bin/env python
# -*- coding: utf-8 -*-

import unittest
import sys
import logging

sys.path.append(".")
from tests import parser_tests, ruby_tests
from lib import test_runner


# Suppress log messages on stderr
logging.basicConfig(level = logging.CRITICAL)

# Define test instances: ex:
# log_load = Log_tests.TestLog('test_load')

# parser_newlines   = parser_tests.TestParser('test_cleanNewlines')
# parser_headings   = parser_tests.TestParser('test_findHeadings')
# parser_paragraphs = parser_tests.TestParser('test_parseParagraphs')
# parser_pagesplit  = parser_tests.TestParser('test_pageSplit')
# parser_parse      = parser_tests.TestParser('test_parse')

ruby_toruby = ruby_tests.TestRuby('test_toRuby')
ruby_parse  = ruby_tests.TestRuby('test_parseRubytext')
ruby_bouten = ruby_tests.TestRuby('test_bouten')
ruby_bousen = ruby_tests.TestRuby('test_bousen')

test_suite = test_runner.ModuleTestRunner()

# Add tests to test suite:
# # test_suite.addTestList("MODULE NAME", [List, of, tests])
# test_suite.addTestList("Parser", [parser_newlines,
#                                   parser_paragraphs,
#                                   parser_headings,
#                                   parser_pagesplit,
#                                   parser_parse,])

test_suite.addTestList("Ruby", [ruby_toruby,
                                ruby_parse,
                                ruby_bouten,
                                ruby_bousen,])

if __name__ == "__main__":
    # Run test suite
    test_suite.run()