summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2020-02-10Fix get_package_source_versionScott Bahling1-1/+0
2020-02-07Add get_package_source_version()Scott Bahling1-0/+23
2020-02-06Fix get_package_versionScott Bahling1-0/+16
2020-02-06Handle passing bytes to the FileInfo classScott Bahling3-16/+73
Move class to own file and enhance tests
2020-02-03Re-architect the RepoFlags classScott Bahling2-96/+25
We don't need to create flags - just read and parse them from the project meta config. Remove the unneeded functionality and enhance the structure. All flags from a project and package are accessible via a single RepoFlags object.
2020-02-03Use status instead of setting to be consistent with the apiScott Bahling1-5/+5
2020-02-03Use repository attribute instead of "repo" to be consistent with the apiScott Bahling1-5/+5
2020-02-03Reorder arguments to be consistent with get_repo_flagsScott Bahling1-16/+16
2020-02-03Add remove_flag methodScott Bahling1-13/+55
2020-02-01Add set_flag methodScott Bahling1-0/+31
2020-01-31Finish updating unit tests to use requests_mockScott Bahling8-111/+657
2020-01-28Use requests_mock for unit testsScott Bahling2-53/+148
2020-01-27Update tests to use requests_mock pytest pluginScott Bahling1-135/+125
2020-01-27Use unittest mocks for test casesScott Bahling2-39/+178
We simply test that the url and params are correct for the HTTP requests and that the result is returned to use properly
2020-01-26Add RepoFlags class and api.get_repo_flags methodScott Bahling2-0/+136
2020-01-25Enhance binaries_ls method to return project level binary listsScott Bahling1-0/+11
2020-01-25Better get_meta testsScott Bahling1-5/+9
2020-01-25Fix get_repository call for retrieving binary objectsScott Bahling1-4/+12
Enhance test case
2020-01-21PEP8Scott Bahling1-1/+1
2020-01-21Fix some python3 incompatibilitiesScott Bahling3-8/+5
2020-01-21Add get_spec_files methodScott Bahling1-0/+8
2018-08-24Initial user and group methods for ObsApi classScott Bahling1-0/+12
2018-08-24Add initial person apiScott Bahling1-0/+25
2017-11-01Add test for sourceapi.put_metaScott Bahling2-0/+20
2017-10-04Move test project/package to build.opensuse.orgScott Bahling3-29/+29
2017-02-21Implement locking api; refactor ObsSourceApi get/put/post callsScott Bahling1-0/+24
2016-04-19Update api core to use buildapi and sourceapiobsapi-0.0.5Scott Bahling1-3/+6
2016-03-03Add formatter class and extend FileInfo classScott Bahling1-0/+4
2016-03-03Add ObsBuildApi classScott Bahling1-0/+124
2016-03-03Add ObsSourceApi classScott Bahling1-0/+68
2016-02-21Add test for get_binary_fileinfoScott Bahling1-0/+14
2016-02-21rename source_info method to get_source_infoScott Bahling1-0/+9
Consistency with other get_* methods
2016-02-21rename get_binaries to binaries_lsScott Bahling1-2/+12
Consistency with the other "ls" methods
2015-04-19Update versioneer and add first unit testsobsapi-0.0.3Scott Bahling1-0/+46