• 
      

    Move gravatars tests out of the templatetags module.

    Review Request #12434 — Created July 4, 2022 and submitted

    Information

    Djblets
    release-3.x

    Reviewers

    The unit tests for the gravatar template tags were living in
    djblets.gravatars.templatetags.tests, which was getting loaded when
    Django loaded the list of available template tags.

    This in turn caused all test-related code to load, including kgb. This
    resulted in failures in production.

    These tests have now been moved into djblets.gravatars.tests.

    Unit tests pass.

    Deployed to production and didn't hit the import issues.

    Summary ID
    Move gravatars tests out of the templatetags module.
    The unit tests for the gravatar template tags were living in `djblets.gravatars.templatetags.tests`, which was getting loaded when Django loaded the list of available template tags. This in turn caused all test-related code to load, including `kgb`. This resulted in failures in production. These tests have now been moved into `djblets.gravatars.tests`.
    4b1f8fd789c5b98d70150b863580e9cf018e993c
    Description From Last Updated

    Need a blank line in here.

    daviddavid
    maubin
    1. Ship It!
    2. 
        
    david
    1. 
        
    2. djblets/gravatars/tests.py (Diff revision 1)
       
       
       
      Show all issues

      Need a blank line in here.

    3. 
        
    chipx86
    david
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-3.x (8818cff)