Commit Graph

4 Commits (79394b340d227182f94bae48cb08a091c78f2ea2)

Author SHA1 Message Date
Lunny Xiao 673cf6af76
make writing main test easier ()
This PR removed `unittest.MainTest` the second parameter
`TestOptions.GiteaRoot`. Now it detects the root directory by current
working directory.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files ()
Change all license headers to comply with REUSE specification.

Fix 

Co-authored-by: flynnnnnnnnnn <flynnnnnnnnnn@github>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Lunny Xiao b8911fb456
Use a struct as test options ()
* Use a struct as test options

* Fix name

* Fix test
wxiaoguang df64fa4865
Decouple unit test code from business code ()