tests: fix tests on travis

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2019-02-07 08:43:43 +02:00
parent 92d4acc978
commit c95e6eb856
3 changed files with 18 additions and 5 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ class TestInterruptedDownload(TestDvc):
import_url = urljoin(self.remote, self.FOO)
import_output = "imported_file"
tmp_file_name = import_output + ".part"
tmp_file_path = os.path.join(self._root_dir, tmp_file_name)
tmp_file_path = os.path.realpath(os.path.join(self._root_dir, tmp_file_name))
self._import_with_interrupt(import_output, import_url)
self.assertTrue(os.path.exists(tmp_file_name))
self.assertFalse(os.path.exists(import_output))