import unittest
from vendfinder.scripts.vendfinder import VendFinder


class TestVendFinderMethods(unittest.TestCase):

    def test_get_user_config(self):
        vend_finder = VendFinder()
        config = vend_finder.get_user_config('test_vendfinder')
        with open(config, 'w') as f:
            f.write('# test_vendfinder\n')
        config = vend_finder.get_user_config('test_vendfinder')
        with open(config, 'r') as f:
            self.assertTrue('# test_vendfinder' in str(f.read()))


if __name__ == '__main__':
    unittest.main()

83a7a2e34ac0ad7b0cf9d358fff29a32d1d3e0a1
<mask token>


class TestVendFinderMethods(unittest.TestCase):
    <mask token>


<mask token>

<mask token>


class TestVendFinderMethods(unittest.TestCase):

    def test_get_user_config(self):
        vend_finder = VendFinder()
        config = vend_finder.get_user_config('test_vendfinder')
        with open(config, 'w') as f:
            f.write('# test_vendfinder\n')
        config = vend_finder.get_user_config('test_vendfinder')
        with open(config, 'r') as f:
            self.assertTrue('# test_vendfinder' in str(f.read()))


<mask token>

<mask token>


class TestVendFinderMethods(unittest.TestCase):

    def test_get_user_config(self):
        vend_finder = VendFinder()
        config = vend_finder.get_user_config('test_vendfinder')
        with open(config, 'w') as f:
            f.write('# test_vendfinder\n')
        config = vend_finder.get_user_config('test_vendfinder')
        with open(config, 'r') as f:
            self.assertTrue('# test_vendfinder' in str(f.read()))


if __name__ == '__main__':
    unittest.main()

import unittest
from vendfinder.scripts.vendfinder import VendFinder


class TestVendFinderMethods(unittest.TestCase):

    def test_get_user_config(self):
        vend_finder = VendFinder()
        config = vend_finder.get_user_config('test_vendfinder')
        with open(config, 'w') as f:
            f.write('# test_vendfinder\n')
        config = vend_finder.get_user_config('test_vendfinder')
        with open(config, 'r') as f:
            self.assertTrue('# test_vendfinder' in str(f.read()))


if __name__ == '__main__':
    unittest.main()
