Skip to content

Commit 2d44fed

Browse files
committed
Test a little further into the GitHub source paths
1 parent bf2ee82 commit 2d44fed

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/test_introspect.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ def test_find_source(self):
5151
SF = scyjava.jimport(str_SF)
5252
source_strSF = scyjava.java_source(str_SF)
5353
source_SF = scyjava.java_source(SF)
54-
github_home = "https://github.com/"
55-
assert source_strSF.startsWith(github_home)
56-
assert source_SF.startsWith(github_home)
54+
repo_path = "https://github.com/scijava/scijava-search/"
55+
assert source_strSF.startsWith(repo_path)
56+
assert source_SF.startsWith(repo_path)
5757
assert source_strSF == source_SF
5858

5959
def test_imagej_legacy(self):
@@ -63,5 +63,5 @@ def test_imagej_legacy(self):
6363
str_RE = "ij.plugin.RoiEnlarger"
6464
table = scyjava.jreflect(str_RE, aspect="methods")
6565
assert len([entry for entry in table if entry["static"]]) == 3
66-
github_home = "https://github.com/"
67-
assert scyjava.java_source(str_RE).startsWith(github_home)
66+
repo_path = "https://github.com/imagej/ImageJ/"
67+
assert scyjava.java_source(str_RE).startsWith(repo_path)

0 commit comments

Comments
 (0)