Skip to main content
Glama

MCP Server

by jalzoubi
test_slurm_handler.cpython-313-pytest-8.3.5.pyc2.84 kB
� y�h�����SSKrSSKJs Jr SSKrSSKJr \RS5r \RRS5r \RRS5rg)�N)�handle_requestc�D�US- nURS5 [U5$)Nztest_script.shz#!/bin/bash echo 'Hello World')� write_text�str)�tmp_path� script_paths �B/Users/jafaralzoubi/Desktop/mcp-server/tests/test_slurm_handler.py�create_mock_scriptr s'���-�-�K����<�=� �{� ��c��X# �[USSS.5IShv�N nSo!So2U;oD(do[R"SU4SX#45[R"U5[R"U5S.-nS S U0-n[ [R "U55eS=n=pCUSS nS o2U:HoD(do[R"S U4SX#45[R"U5[R"U5S.-nS S U0-n[ [R "U55eS=n=pCgGN7f)N��8GB)�script�cores�memory�jobId�result)�in)z%(py1)s in %(py4)s��py1�py4zassert %(py6)s�py6�status�PENDING��==)z%(py1)s == %(py4)s�r� @pytest_ar�_call_reprcompare� _saferepr�AssertionError�_format_explanation)r �response� @py_assert0� @py_assert3� @py_assert2� @py_format5� @py_format7s r �test_slurm_submissionr) s����#�$���%���H� �(�x�(�(�(� (�(�(�(�(�7�(�(�(�7�(�(�(�(�(�(�(�(�(�(�(� �H� �h� '�4�9�4�9� 4�4�4�4�4� '�4�4�4� '�4�4�4�9�4�4�4�4�4�4�4� �s�D*�D'�DD*c��N# �[05IShv�N nUSSnSo"*o1U:HoD(do[R"SU4SX45[R"U5[R"U5S.-nSSU0-n[ [R "U55eS=n=n=p#gN�7f) N�error�codeiZr)z%(py1)s == -%(py4)srzassert %(py7)s�py7r)r#r$r%� @py_assert5r&� @py_format6� @py_format8s r �test_slurm_missing_parametersr1sq���#�B�'�'�H� �G� �V� $�.��.��.�� .�.�.�.�.� $�.�.�.� $�.�.�.��.�.�.�.�.�.�.�(�s�B%�B#�BB%)�builtins� @py_builtins�_pytest.assertion.rewrite� assertion�rewriter�pytest�src.capabilities.slurm_handlerr�fixturer �mark�asyncior)r1�r r �<module>r=sa���� �9������� �����5��5������/��/r

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jalzoubi/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server