<commit_before>import sys
import os
import pkg_resources
from unittest.mock import patch
from postman_problems.chinese_postman import main
from pytest_console_scripts import script_runner


# input params
EDGELIST_SLEEPING_GIANT = pkg_resources.resource_filename('postman_problems', 'examples/sleeping_giant/edgelist_sleeping_giant.csv')
NODELIST_SLEEPING_GIANT = pkg_resources.resource_filename('postman_problems', 'examples/sleeping_giant/nodelist_sleeping_giant.csv')

# output params
OUT_SLEEPING_GIANT_SVG = pkg_resources.resource_filename('postman_problems', 'examples/sleeping_giant/output/rpp_graph.svg')
OUT_STAR_SVG = pkg_resources.resource_filename('postman_problems', 'examples/star/output/rpp_graph.svg')


def test_chinese_postman_sleeping_giant():
    testargs = ["rural_postman",
                "--edgelist", EDGELIST_SLEEPING_GIANT,
                "--nodelist", NODELIST_SLEEPING_GIANT
                ]
    with patch.object(sys, 'argv', testargs):
        main()
<commit_msg>removing rural_postman entry point test.. doesnt exist yet<commit_after>import os
import pkg_resources
from pytest_console_scripts import script_runner


# input params
EDGELIST_SLEEPING_GIANT = pkg_resources.resource_filename('postman_problems', 'examples/sleeping_giant/edgelist_sleeping_giant.csv')
NODELIST_SLEEPING_GIANT = pkg_resources.resource_filename('postman_problems', 'examples/sleeping_giant/nodelist_sleeping_giant.csv')

# output params
OUT_SLEEPING_GIANT_SVG = pkg_resources.resource_filename('postman_problems', 'examples/sleeping_giant/output/rpp_graph.svg')
OUT_STAR_SVG = pkg_resources.resource_filename('postman_problems', 'examples/star/output/rpp_graph.svg')

{'fraction_non_alphanumeric': 0.08581644815256258, 'fraction_numerical': 0.0, 'mean_word_length': 6.995238095238095, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2969673', 'n_tokens_mistral': 596, 'n_tokens_neox': 558, 'n_words': 78}