ConsoleUser
Copyright (c) 2010-2023 Skaion Corporarion, www.skaion.com
This project was developed in part by numerous sponsorships from the U.S. Government. The U.S. Government is authorized to reproduce and distribute reprints of Governmental purposes notwithstanding any copyright notation thereon.
All content reflects those of the authors and should not be interpreted as necessarily representing the official policies or endorsements, either expressed or implied, of the U.S. Government or Skaion Corporation.
- class NodeGoatImpl.NodeGoatImpl(system, config)¶
Parent for interacting with a Node Goat server.
Parameters:
system: a handle to the remote <no title> on which this window “lives”
config: a <no title> object
- confirm_login()¶
Return True iff the user succeeded in logging in
- select_allocations()¶
- Preconditions:
the user is logged in
- Postconditions;
the allocations page is currently displayed
- select_contributions()¶
- Preconditions:
the user is logged in
- Postconditions;
the contributions page is currently displayed
- select_dashboard()¶
- Preconditions:
the user is logged in
- Postconditions;
the dashboard is currently displayed
- select_profile()¶
- Preconditions:
the user is logged in
- Postconditions;
the profile page is currently displayed
- set_contributions(pre, roth, after)¶
- Preconditions:
the user is logged in the contributions tab is selected the pre, roth, after values are all numbers whose sum is <= 30
- Postconditions:
the contributions will match the given values the contributions tab is still selected
Parameters:
pre: the employee’s pre-tax contribution percent
roth: the employee’s Roth contribution percent
after: the employee’s after-tax conribution percent
- NodeGoatImpl.get_nodegoat_client(system, config, ntype=None)¶
This is the factory method that will create instances of the correct type for the given request.
Parameters:
system: a <no title> instance to talk to the target system
config: a <no title> instance defining this user
forum_type: a string specifying the type to create, overriding any value in the config param