Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: kaihsun <[email protected]>
  • Loading branch information
kevin85421 committed May 23, 2024
1 parent 8ec3107 commit 1b37390
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions python/ray/tests/test_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def test_config_metadata(shutdown_only):
assert dict(from_worker.metadata) == job_config.metadata


class TestPyLogConfig:
class TestPyLoggingConfig:
def test_serialized_log_config_dict(self):
py_logging_config = LoggingConfig({"abc": "xyz"})
serialized_py_logging_config = pickle.dumps(py_logging_config)
Expand All @@ -208,14 +208,6 @@ def test_log_config_str(self):
pb = job_config._get_proto_job_config()
assert pb.serialized_py_logging_config == serialized_py_logging_config

def test_read_log_config_from_json(self):
py_logging_config = LoggingConfig({"abc": "xyz"})
serialized_py_logging_config = pickle.dumps(py_logging_config)
job_config_json = {"py_logging_config": py_logging_config}
job_config = JobConfig.from_json(job_config_json)
pb = job_config._get_proto_job_config()
assert pb.serialized_py_logging_config == serialized_py_logging_config


def test_get_entrypoint():
get_entrypoint = """
Expand Down

0 comments on commit 1b37390

Please sign in to comment.