mirror of
https://github.com/internetee/epp_proxy.git
synced 2025-08-21 22:50:48 +02:00
Move session_id function to util module
This commit is contained in:
parent
e7aa9b9770
commit
0c8cbaefc7
6 changed files with 24 additions and 9 deletions
|
@ -2,6 +2,12 @@
|
|||
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
|
||||
session_id_test() ->
|
||||
Pid = spawn(fun () -> ok end),
|
||||
SessionId = epp_util:session_id(Pid),
|
||||
?assert(is_list(SessionId)),
|
||||
?assert(length(SessionId) > 0).
|
||||
|
||||
create_map_test() ->
|
||||
Pid = spawn(fun () -> ok end),
|
||||
Map = epp_util:create_map(Pid),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue