Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

12/Test GrantCLR model #9458

Merged
merged 32 commits into from
Sep 29, 2021
Merged

Commits on Sep 27, 2021

  1. Extract grants models into individual files (gitcoinco#9341)

    * create new directory for models, copy over Contribution model
    
    * extract grants models to individual files
    
    * rename relocated_models directory, remove original models directory, add imports, resolve circular dependencies
    
    * extract CLRMatch into separate file
    
    * extract Flag into separate file
    
    * extract MatchPledge to separate file
    
    * extract Donation and PhantomFunding
    
    * extract GrantStat into separate file
    
    * refactor
    
    * extract GrantBrandingRoutingPolicy to separate file
    
    * update migration
    
    * add missing import to MatchPledge, remove imports from __init__.py
    
    * add missing import
    
    * decouple GrantCLRCalculation and move to own file
    
    * extract GrantType to own file
    
    * extract GrantCLR to own file
    
    * add missing import
    
    * refactor, add missing imports
    
    * remove whitespace
    
    * resolve circular dependency
    
    * run 'make fix'
    
    * import changes from gitcoinco#9314
    
    * add try/except to migration file instead of editing migration directly
    
    * refactor
    Jeremy Schuurmans committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    ef7f8a5 View commit details
    Browse the repository at this point in the history
  2. add pytest-factoryboy

    Jer-Sch committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    3bc89a8 View commit details
    Browse the repository at this point in the history
  3. add directories and test files

    Jer-Sch committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    85ffc3e View commit details
    Browse the repository at this point in the history
  4. add initial test

    Jer-Sch committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    5ae2610 View commit details
    Browse the repository at this point in the history
  5. add test for company_name

    Jer-Sch committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    f55a4b1 View commit details
    Browse the repository at this point in the history
  6. fix typo

    Jer-Sch committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    da9a3a6 View commit details
    Browse the repository at this point in the history
  7. add test for round_num

    Jer-Sch committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    43040e9 View commit details
    Browse the repository at this point in the history
  8. add test for sub_round_slug

    Jer-Sch committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    1472584 View commit details
    Browse the repository at this point in the history
  9. add tests for display_text and owner

    Jer-Sch committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    1952635 View commit details
    Browse the repository at this point in the history
  10. add test case for owner attribute

    Jer-Sch committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    96b76d4 View commit details
    Browse the repository at this point in the history
  11. add test for is_active attribute

    Jer-Sch committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    1af7f2e View commit details
    Browse the repository at this point in the history
  12. add test for start_date

    Jer-Sch committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    872bd83 View commit details
    Browse the repository at this point in the history
  13. add test for end_date

    Jer-Sch committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    2b3ec33 View commit details
    Browse the repository at this point in the history
  14. add test for grant_filters

    Jer-Sch committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    30010a6 View commit details
    Browse the repository at this point in the history
  15. add test for subscription_filters

    Jer-Sch committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    6fbd47f View commit details
    Browse the repository at this point in the history
  16. add test for collection_filters

    Jer-Sch committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    0b521a7 View commit details
    Browse the repository at this point in the history
  17. add test for verified_threshold

    Jer-Sch committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    de22c4a View commit details
    Browse the repository at this point in the history
  18. add test for unverified_threshold

    Jer-Sch committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    e3cfeb1 View commit details
    Browse the repository at this point in the history
  19. add test for total_pot

    Jer-Sch committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    19e1fc4 View commit details
    Browse the repository at this point in the history
  20. add test for contribution_multiplier

    Jer-Sch committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    cea90b7 View commit details
    Browse the repository at this point in the history
  21. add test for logo

    Jer-Sch committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    6922451 View commit details
    Browse the repository at this point in the history
  22. add test for happening_now

    Jer-Sch committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    8694ce7 View commit details
    Browse the repository at this point in the history
  23. add test for happening_now returning false

    Jer-Sch committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    4ae1064 View commit details
    Browse the repository at this point in the history
  24. fix typo

    Jer-Sch committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    9467906 View commit details
    Browse the repository at this point in the history
  25. add tests for happened_recently

    Jer-Sch committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    597dcd7 View commit details
    Browse the repository at this point in the history
  26. add test for record_clr_prediction_curve

    Jer-Sch committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    fb5d18a View commit details
    Browse the repository at this point in the history
  27. add test for grants method

    Jer-Sch committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    2a44133 View commit details
    Browse the repository at this point in the history
  28. add test case for grants method

    Jer-Sch committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    a5bd525 View commit details
    Browse the repository at this point in the history
  29. add test case for grants method

    Jer-Sch committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    c86bd7e View commit details
    Browse the repository at this point in the history
  30. add test case for grants method

    Jer-Sch committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    f7a528a View commit details
    Browse the repository at this point in the history
  31. add test case for grants method

    Jer-Sch committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    ed5d9b9 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2021

  1. Configuration menu
    Copy the full SHA
    537e2cf View commit details
    Browse the repository at this point in the history