File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -7,15 +7,6 @@ class TestAPI(IntegrationHelper):
7
7
def get_client (self ):
8
8
return github3 .gh
9
9
10
- def test_search_repositories (self ):
11
- """Test the ability to use the repository search endpoint"""
12
- cassette_name = self .cassette_name ('search_repositories' ,
13
- cls = 'GitHub' )
14
- with self .recorder .use_cassette (cassette_name ):
15
- repos = self .gh .search_repositories ('github3 language:python' )
16
- assert isinstance (next (repos ),
17
- github3 .search .RepositorySearchResult )
18
-
19
10
def test_search_code (self ):
20
11
"""Test the ability to use the code search endpoint"""
21
12
cassette_name = self .cassette_name ('search_code' ,
@@ -27,3 +18,12 @@ def test_search_code(self):
27
18
)
28
19
assert isinstance (next (repos ),
29
20
github3 .search .CodeSearchResult )
21
+
22
+ def test_search_repositories (self ):
23
+ """Test the ability to use the repository search endpoint"""
24
+ cassette_name = self .cassette_name ('search_repositories' ,
25
+ cls = 'GitHub' )
26
+ with self .recorder .use_cassette (cassette_name ):
27
+ repos = self .gh .search_repositories ('github3 language:python' )
28
+ assert isinstance (next (repos ),
29
+ github3 .search .RepositorySearchResult )
You can’t perform that action at this time.
0 commit comments