text: import sys
  import os
  import subprocess
  from static import LOGIN_ROBOT_FILE
  
  
  
  def run_linting():
      try:
          subprocess.run(["rflint", "-A", "setup/04-setups_and_teardowns.args", LOGIN_ROBOT_FILE], check=True)
      except subprocess.CalledProcessError:
          print("Linting failed, check the results, fix and run again")
          sys.exit(1)
  
  def run_test():
      try:
          subprocess.run(["robot", "--randomize", "tests", "-d", "setup", LOGIN_ROBOT_FILE], check=True)
      except subprocess.CalledProcessError:
          print("Test run failed, check the results, fix and run again")
          sys.exit(1)
  
  def main():
      run_linting()
      run_test()
      print("Ready to proceed!")
  
  if __name__ == "__main__":
      main()
  