mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
mock framework for list_data_points
This commit is contained in:
parent
3cf548fbdc
commit
da9b2e381b
2 changed files with 8 additions and 1 deletions
|
@ -35,7 +35,7 @@ module Fog
|
|||
"Content-Length" => "0",
|
||||
"Content-Type" => "text/plain",
|
||||
}
|
||||
response.remote_ip = "1.1.1.1"
|
||||
response.remote_ip = Fog::Rackspace::MockData.ipv4_address
|
||||
response
|
||||
end
|
||||
end
|
||||
|
|
|
@ -13,6 +13,13 @@ module Fog
|
|||
end
|
||||
|
||||
end
|
||||
|
||||
class Mock
|
||||
|
||||
def list_data_points(entity_id, check_id, metric_name, options)
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue