Skip to content

Commit

Permalink
fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bknueven committed May 21, 2021
1 parent d5c0d9d commit d6e1cbf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Status for internal tests
^^^^^^^^^^^^^^^^^^^^^^^^^

.. image:: https://github.com/Pyomo/mpi-sppy/workflows/pyomo%20tracker/badge.svg
:target: https://github.com/Pyomo/mpi-sppy/actions/workflows/pyotracker.yml


MPI
Expand Down
2 changes: 1 addition & 1 deletion mpisppy/tests/test_ef_ph.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def test_fix_ef_solve(self):
results = solver.solve(ef, tee=False)
sig2eobj = round_pos_sig(pyo.value(ef.EF_Obj),2)
# the fix creator fixed num prod first stage for size 5 to 1134
self.assertEqual(ef.Scenario1.NumProducedFirstStage[5], 1134)
self.assertEqual(pyo.value(ef.Scenario1.NumProducedFirstStage[5]), 1134)

@unittest.skipIf(not solver_available,
"no solver is available")
Expand Down

0 comments on commit d6e1cbf

Please sign in to comment.