File: test_Subprocess__run_app_context.py

package info (click to toggle)
python-briefcase 0.3.22-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,300 kB
  • sloc: python: 59,405; makefile: 57
file content (5 lines) | stat: -rw-r--r-- 223 bytes parent folder | download | duplicates (2)
1
2
3
4
5
def test_run_app_context(mock_sub):
    """Run app context manager returns the input."""
    in_kwargs = object()
    with mock_sub.run_app_context(subprocess_kwargs=in_kwargs) as kwargs:
        assert in_kwargs is kwargs