File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
sdk/storage/azure-storage-blob-changefeed/tests Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 6
6
# license information.
7
7
# --------------------------------------------------------------------------
8
8
import json
9
- from time import sleep
10
-
11
9
import pytest
12
10
from datetime import datetime , timedelta
13
-
14
11
from math import ceil
12
+ from time import sleep
13
+
14
+ try :
15
+ # Hack to run ChangeFeed tests locally due to conflicting namespace and dependency with blob.
16
+ # To run locally, set each library folder in ChangeFeed package as "Sources Root" in PyCharm
17
+ # (i.e. azure, storage, blob, changefeed).
18
+ from changefeed import ChangeFeedClient
19
+ except ImportError :
20
+ from azure .storage .blob .changefeed import ChangeFeedClient
15
21
16
- from azure .storage .blob .changefeed import (
17
- ChangeFeedClient ,
18
- )
19
22
from devtools_testutils .storage import StorageTestCase
20
23
from settings .testcase import ChangeFeedPreparer
21
24
You can’t perform that action at this time.
0 commit comments