def test_attach_file(self):
        file_path = os.path.join(
            os.path.abspath(os.path.dirname(__file__)),
            'mockfile.txt'
        )
        self.browser.attach_file('file', file_path)
        self.browser.find_by_name('upload').click()

        html = self.browser.html
        self.assertIn('text/plain', html)
        self.assertIn(open(file_path, 'rb').read().decode('utf-8'), html)
getCurrentVersion() -> int
dataset/ETHPy150Open cobrateam/splinter/tests/test_webdriver_firefox.py/FirefoxBrowserTest.test_attach_file--crossover with--dataset/ETHPy150Open VisTrails/VisTrails/vistrails/gui/utils.py/getCurrentVersion