File tree Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -25,8 +25,6 @@ pub use connection::SelfIdentity;
2525pub use execution_profile:: ExecutionProfile ;
2626pub use scylla_cql:: frame:: request:: query:: { PagingState , PagingStateResponse } ;
2727
28- #[ cfg( test) ]
29- mod authenticate_test;
3028#[ cfg( test) ]
3129mod session_test;
3230#[ cfg( test) ]
Original file line number Diff line number Diff line change 1- use crate :: authentication:: { AuthError , AuthenticatorProvider , AuthenticatorSession } ;
2- use crate :: test_utils:: setup_tracing;
3- use crate :: utils:: test_utils:: unique_keyspace_name;
1+ use crate :: utils:: { setup_tracing, unique_keyspace_name} ;
42use async_trait:: async_trait;
53use bytes:: { BufMut , BytesMut } ;
4+ use scylla:: authentication:: { AuthError , AuthenticatorProvider , AuthenticatorSession } ;
65use std:: sync:: Arc ;
76
87#[ tokio:: test]
@@ -13,7 +12,7 @@ async fn authenticate_superuser() {
1312
1413 println ! ( "Connecting to {} with cassandra superuser ..." , uri) ;
1514
16- let session = crate :: SessionBuilder :: new ( )
15+ let session = scylla :: SessionBuilder :: new ( )
1716 . known_node ( uri)
1817 . user ( "cassandra" , "cassandra" )
1918 . build ( )
@@ -72,7 +71,7 @@ async fn custom_authentication() {
7271
7372 println ! ( "Connecting to {} with cassandra superuser ..." , uri) ;
7473
75- let session = crate :: SessionBuilder :: new ( )
74+ let session = scylla :: SessionBuilder :: new ( )
7675 . known_node ( uri)
7776 . authenticator_provider ( Arc :: new ( CustomAuthenticatorProvider ) )
7877 . build ( )
Original file line number Diff line number Diff line change 1+ mod authenticate;
12mod consistency;
23mod cql_collections;
34mod execution_profiles;
You can’t perform that action at this time.
0 commit comments