refactor: improve error handling and code clarity in client methods
- Enhanced error messages in the client methods to provide more context on failures. - Updated test cases to correct terminology and ensure accurate error expectations. - Refactored function signatures in media service methods for better readability and consistency.
This commit is contained in:
@@ -110,6 +110,8 @@ func _DisabledTestHandleGetStatus(t *testing.T) {
|
||||
}
|
||||
|
||||
// TestHandleAbsoluteMove - DISABLED due to SOAP namespace requirements
|
||||
//
|
||||
//nolint:dupl // Disabled test functions have similar structure
|
||||
func _DisabledTestHandleAbsoluteMove(t *testing.T) {
|
||||
config := createTestConfig()
|
||||
server, _ := New(config)
|
||||
@@ -150,6 +152,8 @@ func _DisabledTestHandleAbsoluteMove(t *testing.T) {
|
||||
}
|
||||
|
||||
// TestHandleRelativeMove - DISABLED due to SOAP namespace requirements
|
||||
//
|
||||
//nolint:dupl // Disabled test functions have similar structure
|
||||
func _DisabledTestHandleRelativeMove(t *testing.T) {
|
||||
config := createTestConfig()
|
||||
server, _ := New(config)
|
||||
@@ -190,6 +194,8 @@ func _DisabledTestHandleRelativeMove(t *testing.T) {
|
||||
}
|
||||
|
||||
// TestHandleContinuousMove - DISABLED due to SOAP namespace requirements
|
||||
//
|
||||
//nolint:dupl // Disabled test functions have similar structure
|
||||
func _DisabledTestHandleContinuousMove(t *testing.T) {
|
||||
config := createTestConfig()
|
||||
server, _ := New(config)
|
||||
|
||||
Reference in New Issue
Block a user