Skip to content

V3.0

V3.0 #137

GitHub Actions / Unit Test Results failed Aug 25, 2023 in 0s

1 fail, 9 pass in 45s

10 tests   9 ✔️  45s ⏱️
  1 suites  0 💤
  1 files    1

Results for commit 9be3e3a.

Annotations

Check warning on line 0 in tests.Status.test_Status

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

test_bpstatus (tests.Status.test_Status) failed

junit/test-results.xml
Raw output
def test_bpstatus():
        # gets current path
        path = pathlib.Path(__file__).parents[0].absolute()
        sys.path.insert(1, str(path.parents[0]))
    
        # gets the number of cores on the machine
        cores = mp.cpu_count()
        if cores == 1:
            warnings.warn("There is only 1 core on the machine", stacklevel=3)
        else:
            # Run vspace
            if not (path / "BP_Status").exists():
                subprocess.check_output(["vspace", "vspace.in"], cwd=path)
    
            # Run multi-planet
            if not (path / ".BP_Status").exists():
                subprocess.check_output(["multiplanet", "vspace.in"], cwd=path)
    
            # Run bigplanet
            if not (path / ".BP_Status_BPL").exists():
                subprocess.check_output(["bigplanet", "bpl.in", "-a"], cwd=path)
                subprocess.check_output(["bpstatus", "vspace.in"], cwd=path)
    
            file = path / "BP_Status.bpa"
    
            # checks if the bpl files exist
>           assert os.path.isfile(file) == True
E           assert False == True
E             +False
E             -True

tests/Status/test_Status.py:37: AssertionError