MCPcopy Index your code
hub / github.com/endbasic/endbasic / get_username

Method get_username

client/src/cloud.rs:551–553  ·  view source on GitHub ↗

Returns the username of the selected test account.

(&self, i: u8)

Source from the content-addressed store, hash-verified

549
550 /// Returns the username of the selected test account.
551 pub(crate) fn get_username(&self, i: u8) -> String {
552 env::var(format!("TEST_ACCOUNT_{}_USERNAME", i)).expect("Expected env config not found")
553 }
554
555 /// Authenticates against the server using the username and password passed in via
556 /// environment variables. We need to support multiple test accounts at the same time, so

Callers 2

do_loginMethod · 0.80
runFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected