<commit_before>import sys
import os

if sys.version_info >= (2, 7):
    import unittest
else:
    import unittest2 as unittest

from storlever.mngr.block.blockmgr import  block_mgr
from storlever.tests.mngr.block.utils import get_block_dev

class TestBlockMgr(unittest.TestCase):

    def test_block_mgr(self):
        mgr = block_mgr()
        block_list = mgr.get_block_dev_list()
        block_dev = None
        for block_entry in block_list:
            if block_entry.name.startswith("sd"):
                block_dev = block_entry<commit_msg>remove sd prefix check in block test<commit_after>import sys
import os

if sys.version_info >= (2, 7):
    import unittest
else:
    import unittest2 as unittest

from storlever.mngr.block.blockmgr import  block_mgr
from storlever.tests.mngr.block.utils import get_block_dev

class TestBlockMgr(unittest.TestCase):

    def test_block_mgr(self):
        mgr = block_mgr()
        block_list = mgr.get_block_dev_list()
        block_dev = None
        for block_entry in block_list:
            # if block_entry.name.startswith("sd"):
            block_dev = block_entry
            break

{'fraction_non_alphanumeric': 0.07482394366197183, 'fraction_numerical': 0.00528169014084507, 'mean_word_length': 2.9755244755244754, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '2129763', 'n_tokens_mistral': 369, 'n_tokens_neox': 371, 'n_words': 88}