Debian Codegraph @

tests/test_utils.py

raw
1 # -*- coding: utf-8 -*-
2 # coding=utf-8
3 # --------------------------------------------------------------------------
4 # Copyright (c) Microsoft Corporation. All rights reserved.
5 # Licensed under the MIT License. See License.txt in the project root for
6 # license information.
7 # --------------------------------------------------------------------------
8
9 import sys
10
11 import pytest
12
13 from azure.datalake.store.utils import WIN
14
15
16 @pytest.mark.skipif(sys.platform == 'win32', reason="requires non-windows")
17 def test_non_windows_platform():
18 assert not WIN
19
20
21 @pytest.mark.skipif(sys.platform != 'win32', reason="requires windows")
22 def test_windows_platform():
23 assert WIN