RASMUS/Finnish-ASR-Canary-v2
01.2k
1# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.2#3# Licensed under the Apache License, Version 2.0 (the "License");4# you may not use this file except in compliance with the License.5# You may obtain a copy of the License at6#7# http://www.apache.org/licenses/LICENSE-2.08#9# Unless required by applicable law or agreed to in writing, software10# distributed under the License is distributed on an "AS IS" BASIS,11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.12# See the License for the specific language governing permissions and13# limitations under the License.14 15 16from os.path import exists, join17 18import pytest19 20 21class TestDataDir:22 @pytest.mark.unit23 def test_test_data_dir(self, test_data_dir):24 """Just a dummy tests showing how to use the test_data_dir fixture."""25 # test_data_dir contains the absolute path to nemo -> tests/.data26 assert exists(test_data_dir)27 assert exists(join(test_data_dir, "test_data.tar.gz"))28 