Guest User

Untitled

a guest
May 31st, 2016
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.27 KB | None | 0 0
  1. # Database settings
  2. db_host = 'localhost'
  3. db_username = 'username'
  4. db_password = 'password'
  5. db_database = 'futurum'
  6.  
  7. # Shop settings
  8. url = 'http://www.futurumshop.nl'
  9.  
  10. # Search settings
  11. urlNL = "http://www.futurumshop.nl/zoeken/?sortBy[price]=asc&itemPerPage=50"
  12. urlDE = "http://www.futurumshop.de/suche/?q="
  13.  
  14. # Customer settings
  15. customerLogin = 'username@local.com'
  16. customerPassword = 'password'
  17.  
  18. # NL
  19. search = "fc_search"
  20. add_to_card = "(//div[@id='selectedProduct']//button)[2]"
  21. go_card = "//div[@class='cartHeader']//a"
  22. two_step_in_card = "(//div[@id='content']//button)[1]"
  23. go_pm_page = "(//div[@id='content']//button)[1]"
  24. buy_button = "//span[@class='paymentOptions active']/button"
  25.  
  26. # Delivery method
  27. choose_default = "default"
  28. internamsterdam = "internamsterdam"
  29. internapeldoorn = "internapeldoorn"
  30.  
  31. # DE
  32. uberweisung = "(//input[@class='paymentmethod'])[2]"
  33. paypal = 'paypal'
  34. sofort = 'sofort'
  35. visa = 'visa'
  36. mastercard = 'mastercard'
  37. aexpress = 'aexpress'
  38. nachnahme = 'nachnahme'
  39. agree = "//input[@id='agree']"
  40.  
  41. <<<<<<< HEAD:Button_from_fo.py
  42.  
  43. #
  44. importfilepath = '/home/bohdan/importfile/import.txt'
  45. =======
  46. #testimport
  47. import_filepath = "/home/username/importpath/import.txt"
  48. >>>>>>> 2248dec632fcbf78afcb3b03ad99178bbfe2dcbc:config/config.py.example
Add Comment
Please, Sign In to add comment