Move module level constant to function level, refs #660

1 job for release-3 in 2 minutes and 55 seconds
Status Job ID Name Coverage
  Test
passed #2589
make_test

00:02:55