Rename bash_test to bash_tests
This commit is contained in:
parent
ce2cb73654
commit
6773c6c74b
@ -789,5 +789,5 @@ class AnInformativeName(metaclass=system_tests.CaseMeta):
|
||||
|
||||
## Bash test cases
|
||||
|
||||
- Previously, Exiv2 had some bash test scripts, which were saved as the file `EXIV2_DIR/test/*.sh`. We're going to rewrite them as Python test scripts and save them to the directory `EXIV2_DIR/tests/bash_test`.
|
||||
- Previously, Exiv2 had some bash test scripts, which were saved as the file `EXIV2_DIR/test/*.sh`. We're going to rewrite them as Python test scripts and save them to the directory `EXIV2_DIR/tests/bash_tests`.
|
||||
- These Python test scripts are based on [unittest](https://docs.python.org/3/library/unittest.html) and written in a common format, which is different from the format described in [Writing new tests](#writing-new-tests), but can be executed compatibly by `python3 runner.py`.
|
||||
|
||||
@ -2,7 +2,7 @@ import unittest
|
||||
from system_tests import utils
|
||||
|
||||
|
||||
class TestSample(unittest.TestCase):
|
||||
class TestCases(unittest.TestCase):
|
||||
def test_geotag(self):
|
||||
testname = 'geotag-test'
|
||||
jpg = 'FurnaceCreekInn.jpg'
|
||||
@ -12,7 +12,7 @@ import string
|
||||
import unittest
|
||||
|
||||
|
||||
from bash_test import utils
|
||||
from bash_tests import utils
|
||||
|
||||
|
||||
if sys.platform in [ 'win32', 'msys', 'cygwin' ]:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user