Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds test that all constructors and purposes are tested and that they…
… all share the same signature (#2764) Summary: Pull Request resolved: #2764 This is a requested follow up by Liz/Sait/Daniel to (1) ensure all constructor methods share the same signature and (2) ensure that they are all tested. For two, this still relies on best effort to ensure that when you add a new constructor you actually add the relevant tests, but it will ensure that the new constructor has the correct signature. These input constructors are more simple than those used in the modeling layer so i do believe they should be less error prone generally Follow up diffs: - storage for input constructors --> let's do this once we all like the 3 input constructors - update the input constructors to handle the case where n isn't provided as a kwarg - decide if it's more legible for the circular import avoider to be on inputconstructors instead of the generationnode file Reviewed By: lena-kashtelyan Differential Revision: D62553827 fbshipit-source-id: d1eddb4038e96f39fdc98dfa1a73ef0c29e528a4
- Loading branch information