1
0
mirror of synced 2025-12-30 21:02:43 -05:00
Files
airbyte/airbyte-integrations/connectors/source-weatherstack/unit_tests/test_source.py
Cole Snodgrass 2e099acc52 update headers from 2022 -> 2023 (#22594)
* It's 2023!

* 2022 -> 2023

---------

Co-authored-by: evantahler <evan@airbyte.io>
2023-02-08 13:01:16 -08:00

16 lines
374 B
Python

#
# Copyright (c) 2023 Airbyte, Inc., all rights reserved.
#
from unittest.mock import MagicMock
from source_weatherstack.source import SourceWeatherstack
def test_streams(mocker):
source = SourceWeatherstack()
config_mock = MagicMock()
streams = source.streams(config_mock)
expected_streams_number = 4
assert len(streams) == expected_streams_number