File tree 2 files changed +5
-1
lines changed
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python
2
- # Copyright 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2
+ # Copyright 2022-2023 , NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3
3
#
4
4
# Redistribution and use in source and binary forms, with or without
5
5
# modification, are permitted provided that the following conditions
@@ -56,6 +56,9 @@ async def test_get_server_metadata(self):
56
56
ret = await self ._triton_client .get_server_metadata ()
57
57
self .assertEqual (ret .name , "triton" )
58
58
59
+ ret = await self ._triton_client .get_server_metadata (as_json = True )
60
+ self .assertEqual (ret ["name" ], "triton" )
61
+
59
62
async def test_get_model_metadata (self ):
60
63
ret = await self ._triton_client .get_model_metadata ("simple" )
61
64
self .assertEqual (ret .name , "simple" )
Original file line number Diff line number Diff line change 653
653
fi
654
654
655
655
exit $RET
656
+
You can’t perform that action at this time.
0 commit comments