Test_Redis

Provides unit tests and examples for the Redis lens.

Summary
Test_RedisProvides unit tests and examples for the Redis lens.
Augeas Tests
Redis.lnsEmpty value (GH issue #115)
Redis.lnsMultiple bind IP addresses (GH issue #194)

Augeas Tests

Redis.lns

test Redis.lns get "notify-keyspace-events \"\"\n" = { "notify-keyspace-events" = "" }

Empty value (GH issue #115)

Redis.lns

test Redis.lns get "bind 127.0.0.1 \"::1\" 192.168.1.1\n" = { "bind" { "ip" = "127.0.0.1" } { "ip" = "::1" } { "ip" = "192.168.1.1" } }

Multiple bind IP addresses (GH issue #194)

Parses Redis’s configuration files
test Redis.lns get "notify-keyspace-events \"\"\n" = { "notify-keyspace-events" = "" }
Empty value (GH issue #115)
Close