summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtem Pervin <artem.pervin@kaspersky.com>2016-12-01 02:49:53 -0500
committerArtem Pervin <artem.pervin@kaspersky.com>2016-12-01 02:49:53 -0500
commite60562fb307a8ff59f56746427e60ed3b2a1227a (patch)
tree995e1360fc7e005fba3b76f075e4d39b8fe9a5c2
parentf8873147abe49baa4e692b6dd93be1b8db89e172 (diff)
1394: one more test
-rw-r--r--test/rebar_utils_SUITE.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/rebar_utils_SUITE.erl b/test/rebar_utils_SUITE.erl
index ad37e00..e8f33a3 100644
--- a/test/rebar_utils_SUITE.erl
+++ b/test/rebar_utils_SUITE.erl
@@ -276,6 +276,9 @@ tup_merge(_Config) ->
).
proxy_auth(_Config) ->
+ application:unset_env(rebar, proxy_auth),
+ %% proxy auth not set
+ ?assertEqual([], rebar_utils:get_proxy_auth()),
%% proxy auth with regular username/password
rebar_utils:set_proxy_auth("Username:Password"),
?assertEqual([{proxy_auth, {"Username", "Password"}}],