def test_join_files(self):
    'Determine third_party.js contains the content of the first 10 JS\n        files in /third_party/static.\n        '
    third_party_js_stream = StringIO.StringIO()
    dependency_filepaths = build.get_dependencies_filepaths()
    build._join_files(dependency_filepaths['js'], third_party_js_stream)
    counter = 0
    JS_FILE_COUNT = 10
    for js_filepath in dependency_filepaths['js']:
        if (counter == JS_FILE_COUNT):
            break
        with open(js_filepath, 'r') as js_file:
            for line in js_file:
                self.assertIn(line, third_party_js_stream.getvalue())
        counter += 1
Determine third_party.js contains the content of the first 10 JS
files in /third_party/static.
def test_join_files(self):
    'Determine third_party.js contains the content of the first 10 JS\n        files in /third_party/static.\n        '
    third_party_js_stream = StringIO.StringIO()
    dependency_filepaths = build.get_dependencies_filepaths()
    build._join_files(dependency_filepaths['js'], third_party_js_stream)
    counter = 0
    JS_FILE_COUNT = 10
    for js_filepath in dependency_filepaths['js']:
        if (counter == JS_FILE_COUNT):
            break
        with open(js_filepath, 'r') as js_file:
            for line in js_file:
                self.assertIn(line, third_party_js_stream.getvalue())
        counter += 1